From the course: Apple watchOS 7 App Development Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Timeline entries - watchOS Tutorial
From the course: Apple watchOS 7 App Development Essential Training
Timeline entries
- [Instructor] So we got the complications and they're showing, but there's no content all we get are surfboards. For that, we're going to need timeline entries. The timeline contains scheduled events where data changes on the complication. Each event is an entry on that timeline. You can have current data on a single timeline entry or schedule entries for some future date. We'll first look at a single current entry. Now these timeline entries are CLK complication time entry objects. Each entry is a date for the entry and a complication template. In the controller extension, so let's go over there at almost the very bottom of this, you'll find an entry called create timeline entry and we're going to just do some work in there first. So I'm going to go ahead and hit return here and inside of here, as you see, I stubbed this out for creating a CLK complication timeline entry taking a complication, a date and the stage…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
What complications are4m 41s
-
Add launch complication images and symbols6m
-
(Locked)
Data providers8m 24s
-
(Locked)
Populate a complication template4m 25s
-
(Locked)
Challenge53s
-
(Locked)
Solution5m 11s
-
(Locked)
Configure sample templates4m 11s
-
(Locked)
Timeline entries3m 54s
-
(Locked)
Configure timelines5m 6s
-
(Locked)
Launching a timeline4m 10s
-
(Locked)
-
-
-