Class

CLKComplication

Metadata about one of your custom complications.

Declaration

class CLKComplication : NSObject

Overview

You do not 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.

Topics

Getting the Complication Family

var family: CLKComplicationFamily

The family to which the complication belongs.

Relationships

Inherits From

See Also

Management

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.