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

Timeline entries - watchOS Tutorial

From the course: Apple watchOS 7 App Development Essential Training

Start my 1-month free trial

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…

Contents