Global Variable

NSApp

The global variable for the shared app instance.

Declaration

__kindof NSApplication *NSApp;

Discussion

The value in this global variable is the same as accessing the sharedApplication property of the app.

See Also

Getting the Shared App Object

sharedApplication

Returns the application instance, creating it if it doesn’t exist yet.