display(_:)
Acts as Display(), but confining drawing to a rectangular region of the view.
Declaration
func display(_ rect: NSRect)Parameters
- rect:
A rectangle defining the region of the view to be redrawn; it should be specified in the coordinate system of the view.