Chapter 4
More Watch User Interface Objects
In Chapter 3, we looked at two of the simplest user interface objects: WKInterfaceLabel and WKInterfaceImage. This chapter covers six more, starting with three objects (buttons, sliders, and switches) the user can interact with that cause code in your WatchKit Extension to be invoked when their state changes. We’ll also look in detail at three more objects you can use to present information to the user: the WKInterfaceDate object, which displays dates and times, the WKInterfaceTimer object, which is a count-down or count-up timer, and WKInterfaceMap, a simple, non-interactive map. By the time you reach the end of this chapter, you will have seen all the objects you can use to build WatchKit user ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access