Configuring Tracks in TapALap
Before you can actually go for a run in TapALap, you need a way to create a track. You’ll allow your users to specify a name for the track, as well as how long a lap is. Once the track is complete, you’ll need to send it back to the Go Running interface controller, and for that, you’ll create a protocol. First, let’s get the interface created for creating tracks.
The main screen you need to deal with is the track configuration screen. You’ll use it to name a track as well as configure how long a lap on it is. You already have a class, TrackConfigurationInterfaceController, as well as an interface controller in your storyboard, for this task, so let’s get started. To configure how long a track is, you’re going ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access