A container for the complication template object to display and the time at which to display it.


Each entry object represents a single data point along your complication’s timeline. You create and return timeline entries when asked to do so by ClockKit. When the date associated with a particular timeline entry occurs, ClockKit updates your complication’s interface with the data in the accompanying template object.

You can assign a group identifier to timeline entries to control the behavior of transition animations during Time Travel. When two timeline entries have different values in their timelineAnimationGroup property, or when the values are nil, ClockKit animates the transition between those entries during Time Travel. When two entries have the same group value, no animation is created.


Creating a Timeline Entry

init(date: Date, complicationTemplate: CLKComplicationTemplate)

Creates and returns a timeline entry with the specified date and complication data.

init(date: Date, complicationTemplate: CLKComplicationTemplate, timelineAnimationGroup: String?)

Creates and returns a timeline entry with the specified information.

Setting the Entry Values

var date: Date

The time at which to display the entry.

var complicationTemplate: CLKComplicationTemplate

The template containing the data to display in your complication.

var timelineAnimationGroup: String?

The animation group to which the entry belongs.


Inherits From

Conforms To

See Also


Adding Complications to the Gallery

Configure watch faces in the gallery area of the Apple Watch app on iPhone.

class CLKComplicationServer

An object that manages the active complications for a given app.

class CLKComplication

Metadata about one of your custom complications.