NSWindowDelegate
A set of optional methods that a window’s delegate can implement to respond to events, such as window resizing, moving, exposing, and minimizing.
Declaration
protocol NSWindowDelegate : NSObjectProtocolTopics
Managing Sheets
Sizing Windows
Minimizing Windows
Zooming Window
Managing Full-Screen Presentation
window(_:willUseFullScreenContentSize:)window(_:willUseFullScreenPresentationOptions:)windowWillEnterFullScreen(_:)windowDidEnterFullScreen(_:)windowWillExitFullScreen(_:)windowDidExitFullScreen(_:)
Custom Full-Screen Presentation Animations
customWindowsToEnterFullScreen(for:)customWindowsToEnterFullScreen(for:on:)window(_:startCustomAnimationToEnterFullScreenWithDuration:)window(_:startCustomAnimationToEnterFullScreenOn:withDuration:)windowDidFailToEnterFullScreen(_:)customWindowsToExitFullScreen(for:)window(_:startCustomAnimationToExitFullScreenWithDuration:)windowDidFailToExitFullScreen(_:)
Moving Windows
windowWillMove(_:)windowDidMove(_:)windowDidChangeScreen(_:)windowDidChangeScreenProfile(_:)windowDidChangeBackingProperties(_:)
Closing Windows
Managing Key Status
Managing Main Status
Managing Field Editors
Updating Windows
Exposing Windows
Managing Occlusion State
Dragging Windows
Getting the Undo Manager
Managing Titles
Managing Restorable State
Managing Presentation in Version Browsers
window(_:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:)windowWillEnterVersionBrowser(_:)windowDidEnterVersionBrowser(_:)windowWillExitVersionBrowser(_:)windowDidExitVersionBrowser(_:)