family
The family to which the complication belongs.
Declaration
var family: CLKComplicationFamily { get }Mentioned in
Discussion
The family property determines how much space is available to a complication and which templates you can use to display your complication data. In your complication data source, you typically use the property’s value in a switch statement when determining the complication template your data source creates.
In watchOS 7 and later, ClockKit represents complications using its family and identifier. Each pair represents a unique complication that the user can select.
In watchOS 6 and earlier, ClockKit represents a complication by its family only. Each family can only have one complication. For more information, see Declaring complications for your app.