Instance Method
switchAnchorFastName(_:withName:) switchAnchorFastName:withName: switchAnchorFastName_withName_
Swaps two anchor names without undo registration or change notifications.
Declaration
func switchAnchorFastName(_ name1: String, withName name2: String)Declaration
- (void) switchAnchorFastName:(NSString *) name1 withName:(NSString *) name2;Declaration
switchAnchorFastName_withName_(name1: str, name2: str)Discussion
If only one anchor exists, that anchor is renamed.
See Also
Anchors
Layer anchors keyed by anchor name.
The number of anchors on the layer.
Adds or replaces an anchor by name.
Replaces all anchors with anchors from an array.
Replaces all anchors without undo registration or change notifications.
Removes an anchor from the layer.
Removes the anchor with a name.
Updates layer anchor lookup after an owned anchor changes its name.