flush()
Flushes the window’s offscreen buffer to the screen if the window is buffered and flushing is enabled.
Declaration
func flush()Discussion
Does nothing for other display devices, such as a printer. This method is automatically invoked by the NSWindow display() and displayIfNeeded() methods and the corresponding NSView display() and displayIfNeeded() methods.