Advertisement

Interface Controllers and Layout

  • Kim Topley

Abstract

 Chapter 1 introduced the basic building blocks of WatchKit and helped you create a very simple application. This chapter looks in detail at interface controllers, the WatchKit equivalent of UIKit’s view controllers. We start by discussing the lifecycle of an interface controller and how it relates to the lifecycle of your WatchKit application’s extension. We then cover in some detail the way in which interface controllers handle layout and the storyboard tools you can use to construct layouts that adapt to the different screens of the 38mm and 42mm Apple Watch devices.

Keywords

Screen Size Input Field Width Attribute 42mm Device Nest Group 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Kim Topley 2015

Authors and Affiliations

  • Kim Topley
    • 1
  1. 1.NYUS

Personalised recommendations