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 ...
Get Developing for Apple Watch, 2nd Edition 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.