display()
Passes a display message down the window’s view hierarchy, thus redrawing all views within the window.
Declaration
func display()Discussion
You rarely need to invoke this method. NSWindow objects normally record which of their views need displaying and display them automatically on each pass through the event loop.
This method includes the frame view that draws the border, title bar, and other peripheral elements.