rulerView(_:willSetClientView:)
Informs the client view that aRulerView is about to be appropriated by newClient.
Declaration
func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView)Discussion
The client view can use this opportunity to clear any cached information related to the ruler.