Instance Property


The app delegate object.


weak var delegate: NSApplicationDelegate? { get set }


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

protocol NSApplicationDelegate

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