I have a list of things that have been integrated into Xcode that I have wanted to take a look at over the course of this semester. I randomly lit upon Auto Layout. It is something we kept disabling last semester and I wanted to get a feel for what it is like.
I chose this tutorial to explore auto layout. It is from iOS 6, but it isn’t like things change that much, right??
I ran into an issue with using this tutorial. This tutorial does not utilize storyboards. As far as I can see, .xib files are not really supported anymore. You don’t have the option to not include storyboards any longer.
I figured it wouldn’t really be that big of an issue. I would just follow the same directions that I would if this was a .xib and not a storyboard.
There have been other auto layout changes. It used to be that when you put an object on the view it would automatically create constraints. A lot of the tutorial was talking about how to deal with the automatically created restraints. Now that they don’t appear any longer, things are slightly more complicated.
I am not going to continue with the tutorial for the time being. I get an idea of what Auto Layout is like. I know I will need to mess around with it in the future.
It also isn’t a priority to me at my current moment. I am still in the process of coding my apps for functionality, not for aesthetics.
I feel confident that when I get to the point where this is relevant for me that it won’t be too difficult to grok.