- macOS 10.0–10.14Deprecated
If the window is buffered, disabling
flush() prevents drawing from being automatically flushed by the
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
disable message must be paired with a subsequent
enable message. Invocations of these methods can be nested; flushing isn’t reenabled until the last
enable message is sent.