Instance Method

rulerView(_:didAdd:)

Informs the client that aRulerView allowed the user to add aMarker.

Declaration

func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker)

Discussion

The client can take whatever action it needs based on this message, such as adding a new tab stop to the selected paragraph or creating a layout guideline.

See Also