Instance Method

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.

See Also

Managing Window Buffers

var isFlushWindowDisabled: Bool

A Boolean value that indicates whether the window’s flushing ability is disabled.

Deprecated
func enableFlushing()

Reenables the flush() method for the window after it was disabled through a previous disableFlushing() message.

Deprecated
func disableFlushing()

Disables the flush() method for the window.

Deprecated
func flushIfNeeded()

Flushes the window’s offscreen buffer to the screen if flushing is enabled and if the last flush() message had no effect because flushing was disabled.

Deprecated