Creating Your Apple Watch App

While going for a run, you want to know things like how far you’ve traveled and how fast you’re moving. Plenty of apps exist to do this outside, where your iPhone gets great GPS reception, but you want one that works great indoors on a track. That is the purpose of the Apple Watch app we’ll be creating together in this book. You’ll be building a rudimentary stopwatch; every time users cross the starting line of the lap, they’ll tap a button to mark a lap as completed, and the app will mark the time they tapped the button. Inspired by this user interface, the app is named TapALap, since you’re tapping a lap. I know—amazing name. Every track is a different size; the one at my local gym, for instance, is five laps ...

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.