12. Autolayout in a New View
Chapter 11, “Building a New View,” was about creating scenes in Passer Rating. To preserve that focus, I finessed the issue of autolayout with a quick workaround. For the purpose of an exercise, you don’t need to do more; Passer Rating is not a professional-grade product.
You’ll need to know more sooner or later, and this chapter is a closer look at autolayout. You can put it off, or even skip it entirely. I won’t know.
Note
If you attempted autolayout in Xcode 4, you found it was a nightmare, and I wouldn’t blame you if you were a bit phobic on the subject. It’s better in Xcode 5. Much better. However, the new workflow is available only if you select Xcode 5.0 in the Opens in popup in the File inspector. If you ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.