Skip to main content

Constraints

  • Chapter
  • First Online:
Beginning Xcode
  • 1534 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics