Instance Method


Called to allow the delegate to modify the full-screen content size.


optional func window(_ window: NSWindow, willUseFullScreenContentSize proposedSize: NSSize) -> NSSize



The window to enter to full-screen mode.


The proposed window size.

Return Value

The window size to use when displaying content size.

See Also

Managing Full-Screen Presentation

func window(NSWindow, willUseFullScreenPresentationOptions: NSApplication.PresentationOptions) -> NSApplication.PresentationOptions

Returns the presentation options the window uses when transitioning to full-screen mode.

func windowWillEnterFullScreen(Notification)

The window is about to enter full-screen mode.

func windowDidEnterFullScreen(Notification)

The window has entered full-screen mode.

func windowWillExitFullScreen(Notification)

The window is about to exit full-screen mode.

func windowDidExitFullScreen(Notification)

The window has left full-screen mode.