O'Reilly logo

Learning iOS UI Development by Yari D'areglia

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

Connecting user interfaces with your code

Putting a new element inside your interface files is extremely simple. You just have to select one of the available objects from the objects library and drag and drop it inside the interface editor.

For example, let's say you want to create the user interface for a subclass of UIViewController called SignInViewController that implements user sign-in. The first step is to drag and drop a view controller object inside the Storyboard interface editor. Then, select the newly added view controller, and from the Identity inspector (third button on the right-hand side panel), update the information of the custom class area, specifying the name SignInViewController as the class name. The view controller you see ...

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