Instance Method
enumerateSyncedLayers(_:) enumerateSyncedLayersUsingBlock: enumerateSyncedLayersUsingBlock_
Invokes a block for the layers of the glyph that participate in synced editing.
Declaration
func enumerateSyncedLayers(_ block: @escaping (GSLayer) -> Void)Declaration
- (void) enumerateSyncedLayersUsingBlock:(void (^)(GSLayer *)) block;Declaration
enumerateSyncedLayersUsingBlock_(
: GSLayer,
block
)Discussion
The receiver is always included. Other non-backup layers are included when synced editing is enabled.
Synced editing is controlled by the GSSyncLayerEdits user defaults value.
See Also
Synced Editing
Invokes a block for the layers in the same layer group that participate in synced editing.
Invokes a block for the other layers in the same layer group that participate in synced editing.