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 | 19.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
To enable your app to prompt the user for these file permissions, you must have a Privileged File Operation entitlement. If you have an app on the Mac App Store or plan to submit your app for review, you can request this entitlement (see https://developer.apple.com/go/?id=workspace-authorization).
see also
https://developer.apple.com/documentation/appkit/nsworkspaceauthorization
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
Constant | Value | Description |
---|---|---|
NSWorkspaceAuthorizationTypeCreateSymbolicLink | 0 |
Authorization for the app to create a symbolic link. |
NSWorkspaceAuthorizationTypeReplaceFile | 2 |
Authorization for the app to perform an atomic file write without changing the target file's permissions. |
NSWorkspaceAuthorizationTypeSetAttributes | 1 |
Authorization for the app to change specific file attributes. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSWindowRestoreHandlerMBS - NSWorkspaceMBS