Book Image

Learning iOS UI Development

Book Image

Learning iOS UI Development

Overview of this book

Through this comprehensive one-stop guide, you’ll get to grips with the entire UIKit framework and in a flash, you’ll be creating modern user interfaces for your iOS devices using Swift. Starting with an overview of the iOS drawing system and the available tools, you will then learn how to use these technologies to create adaptable layouts and custom elements for your applications. Next, you’ll be introduced to other topics such as animation and code-drawing with Core Graphics, which will give you all the knowledge you need to create astonishing user interfaces. By the end of this book, you will have a solid foundation in iOS user interface development and will have gained valuable insights on the process of building firm and complex UIs.
Table of Contents (16 chapters)
Learning iOS UI Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

An overview of the editor


As soon as you open a .storyboard or .xib file, Xcode presents you with the Interface Builder editor:

You can easily notice three different areas marked with numbers in the preceding image. They represent the following:

  1. The document outline contains a tree structure that represents all the view controllers and elements available in the Storyboard/XIB file. It is a handy way to select specific elements, especially when the user interface is crowded with different components.

  2. In the center of the screen, you can see the interface editor. From this area, you can create new view controllers, place and move elements inside views, define navigation flows, and connect UI components to your classes.

  3. The utilities panel allows you to add details to the UI elements: you need to first select an element from the interface editor or document outline, and then you can access and set all the element properties through six different subsections of the utilities panel:

Let's take a look...