Abstract
This chapter introduces you to a feature of Xcode that is still relatively new and has been over the last few versions of Xcode: the Auto Layout system. Auto Layout (or Autolayout, as Apple sometimes refers to it) had its last significant revision in Xcode 6 with the addition of size classes to allow for more adaptable storyboards, the subject of the next chapter. In this chapter, you use Auto Layout to build an example application that adapts to changing resolutions and screen orientations the way you want it to. What’s great is that the techniques you learn here are largely applicable to both iOS and OS X development.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Matthew Knott
About this chapter
Cite this chapter
Knott, M. (2016). Constraints. In: Beginning Xcode. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5005-0_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5005-0_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5004-3
Online ISBN: 978-1-4302-5005-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)