Metadata about one of your custom complications.


class CLKComplication : NSObject


You don’t create instances of this class directly. Instead, you retrieve them from the CLKComplicationServer object. Complication objects are only available when your complication is in use on the clock face.

In addition to getting information about the complication, you use complication objects to extend or replace the timeline data for one of your active complications. When calling the extendTimeline(for:) and reloadTimeline(for:) methods of the shared CLKComplicationServer object, pass the complication object whose data you want to modify.


Getting the Complication Family

var family: CLKComplicationFamily

The family to which the complication belongs.


Inherits From

See Also


class CLKComplicationServer

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

class CLKComplicationTimelineEntry

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