display()
Displays the view and all its subviews if possible, invoking each of the NSView methods Lockfocus(), Draw(_:), and Unlockfocus() as necessary.
Declaration
func display()Discussion
If the view isn’t opaque, this method backs up the view hierarchy to the first opaque ancestor, calculates the portion of the opaque ancestor covered by the view, and begins displaying from there.