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

Get Learn WatchKit for iOS 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.