Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS MacCocoa Plugin | 11.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The plugin only implements a small subset of what's available in Cocoa. If you miss something, please send us an email.
You can get an instance of this class using one of three ways:
Constant | Value | Description |
---|---|---|
NSRemoteNotificationTypeAlert | 4 |
One of the notification type constants.
Available in Mac OS X 10.8. |
NSRemoteNotificationTypeBadge | 1 | One of the notification type constants. |
NSRemoteNotificationTypeNone | 0 | One of the notification type constants. |
NSRemoteNotificationTypeSound | 2 |
One of the notification type constants.
Available in Mac OS X 10.8. |
Constant | Value | Description |
---|---|---|
NSApplicationActivationPolicyAccessory | 1 | The application does not appear in the Dock and does not have a menu bar, but it may be activated programmatically or by clicking on one of its windows. This corresponds to value of the LSUIElement key in the application's Info.plist being 1. more |
NSApplicationActivationPolicyProhibited | 2 | The application does not appear in the Dock and may not create windows or be activated. This corresponds to the value of the LSBackgroundOnly key in the application's Info.plist being 1. This is also the default for unbundled executables that do not have Info.plists. more |
NSApplicationActivationPolicyRegular | 0 | The application is an ordinary app that appears in the Dock and may have a user interface. This is the default for bundled apps, unless overridden in the Info.plist. more |
Constant | Value | Description |
---|---|---|
NSApplicationPresentationAutoHideDock | 1 | Example |
NSApplicationPresentationAutoHideMenuBar | 4 | |
NSApplicationPresentationAutoHideToolbar | 2048 | Fullscreen window toolbar is detached from window and hides/shows with autoHidden menuBar. May be used only when both NSApplicationPresentationFullScreen and NSApplicationPresentationAutoHideMenuBar are also set more |
NSApplicationPresentationDefault | 0 | |
NSApplicationPresentationDisableAppleMenu | 16 | |
NSApplicationPresentationDisableForceQuit | 64 | |
NSApplicationPresentationDisableHideApplication | 256 | |
NSApplicationPresentationDisableMenuBarTransparency | 512 | |
NSApplicationPresentationDisableProcessSwitching | 32 | |
NSApplicationPresentationDisableSessionTermination | 128 | |
NSApplicationPresentationFullScreen | 1024 |
Application is in fullscreen mode. Available on Mac OS X 10.7 or newer. |
NSApplicationPresentationHideDock | 2 | |
NSApplicationPresentationHideMenuBar | 8 |
Constant | Value | Description |
---|---|---|
NSCriticalRequest | 0 |
The user attention request is a critical request. The dock icon will bounce until either the application becomes active or the request is canceled. |
NSInformationalRequest | 10 | The user attention request is an informational request. more |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSApplicationDelegateMBS - NSAttributedStringMBS