O'Reilly logo

Learning Swift by Andrew J Wagner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the user interface

Now that we have our bearings within the project, let's jump to the process of configuring the user interface of our app. As discussed earlier, this is done within the Main.storyboard file. When we select this file, we are presented with a graphical editing tool that is generally referred to as Interface Builder:

Configuring the user interface

In the center, we can see our main view that is controlled by ViewController. This is a blank canvas where we can add all the interface elements we want.

The first thing we should do is add the bar at the top that is in our wireframes. This bar is called a navigation bar and we can add it directly as it is one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required