O'Reilly logo

Developing for Apple Watch by Jeff Kelley

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 Interface Objects

Remember in the last chapter,, when you dragged your first interface object onto the blank canvas of your storyboard? That black square inside the Interface Builder canvas was your interface controller. Think of an interface controller like a view controller, its iOS equivalent; they both manage screenfuls of content—albeit a much smaller screen on the watch. When your WatchKit app loads, whichever interface controller in the storyboard has the Main arrow pointing to it will display first. There are two ways to change which interface controller gets loaded first: dragging the arrow around in your storyboard or selecting the interface controller, navigating to Xcode’s Attributes Inspector (4), and checking the Is ...

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