Adding Detail to a Screen

The Go Running screen in our TapALap app is pretty bare at the moment—just a green button. There’s more information we want to display on this screen: the track on which the user is about to run (with the ability to edit it) as well as some stats about the runner’s overall performance. Let’s do the performance stats first.

Using Groups for Advanced Layout

Your users will want to know how many runs they’ve been on and their average pace. To that end, you’ll add one group for each of those topics to the interface controller. Drag out a new group and add two labels to it. This will be the group for the number of times the user has run using our app. Change the text of the first label to a number—I use 5 in my example—so ...

Get Developing for Apple Watch 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.