Class

CLKComplication

Metadata about one of your custom complications.

Declaration

@interface CLKComplication : NSObject

Overview

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 extendTimelineForComplication: and reloadTimelineForComplication: methods of the shared CLKComplicationServer object, pass the complication object whose data you want to modify.

Topics

Getting the Complication Family

family

The family to which the complication belongs.

Relationships

Inherits From

Conforms To

See Also

Management

CLKComplicationServer

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

CLKComplicationTimelineEntry

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