Instance Property

delegate

The app delegate object.

Declaration

@property(weak) id<NSApplicationDelegate> delegate;

Discussion

The app object and app delegate work in tandem to manage the app’s overall behavior. Typically, the delegate is configured automatically by the Xcode project templates.

See Also

Managing the App's Behavior

NSApplicationDelegate

A set of methods that delegates of NSApplication objects can implement.