Contents

init(identifier:displayName:supportedFamilies:)

Returns a new complication descriptor.

Declaration

convenience init(identifier: String, displayName: String, supportedFamilies: [CLKComplicationFamily])

Parameters

  • identifier:

    A string that uniquely identifies the descriptor.

  • displayName:

    A localized name that ClockKit shows to the user to identify complications from the descriptor.

  • supportedFamilies:

    The families that support this type of complication. Note that different descriptors can support different sets of families.

See Also

Creating descriptors