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 ...

Get Developing for Apple Watch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.