O'Reilly logo

Learning Swift™ Programming by Jacob Schatz

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

Single-View Applications

When you start with a single-view application, Xcode starts you off with just a simple UIView, the most basic view available. A lot of other views inherit from this view. To choose this kind of application, click Single View Application and then click Next. Name your project single view, make sure Language is set to Swift, and make sure the Device is Universal. When you open the Main.storyboard file, you see the view shown in Figure 12.2.

Image

Figure 12.2 The main.storyboard GUI layout.

In Figure 12.2, note the couple of labels added to the storyboard:

1. In this sidebar area, you can make changes to things that are currently ...

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