Can I disable autolayout for a specific subview at runtime?

I had the same problem. But I have resolved it. Yes, you can disable auto layout at runtime for a specific UIView, instead of disabling it for the whole xib or storyboard which is set by default in Xcode 4.3 and later. Set translatesAutoresizingMaskIntoConstraints to YES, before you set the frame of your subview: self.exampleView.translatesAutoresizingMaskIntoConstraints … Read more

How to create a .gitignore file

If you’re using Windows, it will not let you create a file without a filename in Windows Explorer. It will give you the error “You must type a file name” if you try to rename a text file as .gitignore To get around this, I used the following steps. Create the text file gitignore.txt Open … Read more