Startup function to call when running Cocoa code from a Carbon application.
- macOS 10.2+
YES if the
NSApplication object was successfully initialized and can now be used from your Carbon application or
NO if there was an error during initialization.
You typically call this function before calling other Cocoa code in a plug-in loaded into a primarily Carbon application. If the shared
NSApplication object is not already initialized, this function initializes it and sets up the necessary event handlers for Cocoa.