O'Reilly logo

Swift Essentials - Second Edition by Dr. Alex Blewitt

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

Creating new views with Interface Builder

The easiest way to create a custom view is to use Interface Builder to drag and drop the contents. This is typically done with a UITableView and a prototype table cell.

Creating a table view controller

Drag in a Table View Controller from the object library onto the main storyboard, and drag and drop from the tab bar controller to the newly created table view controller to create a relation segue called view controllers. (Segues are covered in more detail in the Storyboards, Segues , and Scenes section in Chapter 4, Storyboard Applications with Swift and iOS.)

By default, the table view controller will have dynamic property content—that is, it will be able to display a variable number of rows. This is defined ...

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