disableFlushing()
Disables the Flush() method for the window.
Declaration
func disableFlushing()Discussion
If the window is buffered, disabling flush() prevents drawing from being automatically flushed by the NSView display... methods from the window’s backing store to the screen. This method permits several views to be drawn before the results are shown to the user.
Flushing should be disabled only temporarily, while the window’s display is being updated. Each disableFlushWindow message must be paired with a subsequent enableFlushing() message. Invocations of these methods can be nested; flushing isn’t reenabled until the last enableFlushing() message is sent.