Removes a
from the receiver, without consulting the client view for approval.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func removeMarker(_ marker: NSRuler Marker)
Removes a
from the receiver, without consulting the client view for approval.
SDK
Framework
func removeMarker(_ marker: NSRuler Marker)
var markers: [NSRuler Marker]?
The receiver’s ruler markers to markers
, removing any existing ruler markers and not consulting with the client view about the new markers.
func add Marker(NSRuler Marker)
Adds a
to the receiver, without consulting the client view for approval.
func track Marker(NSRuler Marker, with Mouse Event: NSEvent) -> Bool
Tracks the mouse to add a
based on the initial mouse-down or mouse-dragged event the
.