One Storyboard to Rule Them All Do you really want to write 20 storyboards to cover three sizes of iPhones, the iPad, iPad mini and iPad Pro, and iPad multitasking windows? You don’t have to. Auto layout, size classes and stack views in Xcode 7 make this task easy. You can make one storyboard for all 20 layouts, and sell many apps as universal apps that couldn’t before. We are getting close to the time Apple will require Auto layout and size classes.
In iOS8, Apple made it impossible to code popovers, modal views, alerts and split views without size classes. Now in iOS9, multitasking requires it. Most developers still do not know the difference between a regular width and compact width. Doing so, they risk their code becoming obsolete and useless. You need to know size classes, or your code can break in iOS9.
In Practical Auto Layout for Xcode 7, using simple, practical examples, you will learn how to master auto layout and size classes on the Xcode 7 storyboard. Using easy to follow examples, you will learn how to make universal apps quickly easily and in far less time than ever before. You'll learn how to use constraints the right way, how to avoid and resolve errors such as misplacement and conflicting constraints. You be able to customize your layout for both launch screens and your application, using buttons, labels, images, text fields and more.
Xcode 7 and iOS 9 introduces two new features for the layout of your app: stack views and iPad multitasking. Practical Auto Layout for Xcode 7 covers what you need to know about multitasking on the iPad for the best user experience and how little you have to do to make this a powerful addition to your app. Stack views make the most complex auto layout storyboards and simplifies them. The book shows you how to use stack views effectively to make layouts that work on all devices in minutes.
Demonstrating auto layout and size classes with highly illustrated storyboard examples and no code, Pratical Autolayout is a great introduction to the Xcode 6 storyboard with autolayout and size classes for both developers and designers.