Getting Oriented to Auto Layoutīefore creating a user interface, take a tour of Xcode and Interface Builder. Before you get into the project, it’s important to get acquainted with Auto Layout. To access the materials you’ll need, click the Download Materials button at the top or bottom of the tutorial.
Later in the tutorial, you’ll work on a project called Gallery Kit. Auto Layout is Apple’s solution to this problem, enabling UI elements to grow, shrink and move depending on screen size. Today, differently sized devices and more emphasis on landscape mode demand user interfaces of different sizes. Developers didn’t have to create flexible interfaces as they only had to fit that one size. You no longer have to make new XIBs or storyboards for every language you wish to support, including right-to-left languages such as Hebrew or Arabic.įor new iOS developers, here’s a quick overview of Auto Layout:Īt first, Apple made one screen size for the iPhone. Note: Auto Layout makes internationalization easy, too.