Instance Property


The window’s delegate.


@property(weak) id<NSWindowDelegate> delegate;


The value of this property is nil if the window doesn’t have a delegate.

A window object’s delegate is inserted in the responder chain after the window itself and is informed of various actions by the window through delegation messages.

See Also

Managing the Window's Behavior


A set of optional methods that a delegate of NSWindow can implement to respond to events, such as window resizing, moving, exposing, and minimizing.