Platforms to show: All Mac Windows Linux Cross-Platform

Back to Application class.

Application.NSApplicationMBS as NSApplicationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the shared NSApplication object.

This method gives easy access to the NSApplicationMBS class.

The plugin makes sure that there is only one application object by returning the same object each time.
Works for Console, Desktop and Web projects. Version 19.4 declares this method for ConsoleApplication and Application class.

Some examples using this method:

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...