Watch Faces and Complications

One of the first questions to ask when supporting ClockKit complications is simple: What data should I show? In the case of TapALap, you could show your most recent run, how fast you ran, and how far, but that’s only relevant for the time period during and immediately after the run itself. A great complication has relevant data to show the user at all times. Since any runner needs to stay hydrated and eat regular meals, you can offer a counterpart app focused on those aspects of training. In this chapter we’ll develop an app called NomNomNom that shows the user two points of data: how much water he’s consumed today and when his next meal is. You could build these features into TapALap itself, but you’d run the risk ...

Get Developing for Apple Watch, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.