Instance Method
layerGroups()layerGroupslayerGroups
The layer identifier groups used to check compatibility and coordinate edits across corresponding layers.
Declaration
func layerGroups() -> [NSOrderedSet]Declaration
- (NSArray<NSOrderedSet<NSString *> *> *) layerGroups;Declaration
layerGroups() -> list[NSOrderedSet<NSString *>]Discussion
A layer group is an ordered set of layer identifiers for layers that participate in the same interpolation or substitution context. Intermediate, Alternative, and color layers can form groups distinct from the master layers. The grouping follows the font’s compatibility and empty-layer settings.
See Also
Layer Groups
The layer identifier groups required by a set of instances.
The layer identifier groups formed without reference to configured instances.
The forced layer group containing a layer, or
nilwhen the layer is not in a group.The forced layer group containing a layer, or
nilwhen the layer is not in a group.The forced layer group containing a layer as an array, or
nilwhen the layer is not in a group.The identifiers of layers in the same group that have compatible shapes, anchors, and path-component hints.
The font masters including representations of active Intermediate-layer locations.