The standard locations that you can place new command groups relative to.
The names of these placements aren't visible in the user interface, but
the discussion for each placement lists the items that it includes.
Members (18)
get · iOS 14.0+
pasteboard
TypeScript
static get pasteboard(): CommandGroupPlacement
Swift declaration
static let pasteboard: CommandGroupPlacement
Placement for commands that interact with the Clipboard and
manipulate content that is currently selected in the app's view
hierarchy.
By default, this group includes the following commands in macOS:
* Cut
* Copy
* Paste
* Paste and Match Style
* Delete
* Select All
get · iOS 14.0+
windowSize
TypeScript
static get windowSize(): CommandGroupPlacement
Swift declaration
static let windowSize: CommandGroupPlacement
Placement for commands that control the size of the window.
By default, this group includes the following commands in macOS:
* Minimize
* Zoom
get · iOS 14.0+
appSettings
TypeScript
static get appSettings(): CommandGroupPlacement
Swift declaration
static let appSettings: CommandGroupPlacement
Placement for commands that expose app settings and
preferences.
By default, this group includes the following command in macOS:
* Preferences
get · iOS 14.0+
textEditing
TypeScript
static get textEditing(): CommandGroupPlacement
Swift declaration
static let textEditing: CommandGroupPlacement
Placement for commands that manipulate and transform text
selections.
By default, this group includes the following commands in macOS:
* Find submenu
* Spelling and Grammar submenu
* Substitutions submenu
* Transformations submenu
* Speech submenu
get · iOS 14.0+
importExport
TypeScript
static get importExport(): CommandGroupPlacement
Swift declaration
static let importExport: CommandGroupPlacement
Placement for commands that relate to importing and exporting
data using formats that the app doesn't natively support.
Empty by default in macOS.
get · iOS 14.0+
appVisibility
TypeScript
static get appVisibility(): CommandGroupPlacement
Swift declaration
static let appVisibility: CommandGroupPlacement
Placement for commands that control the visibility of running
apps.
By default, this group includes the following commands in macOS:
* Hide App
* Hide Others
* Show All
get · iOS 14.0+
appTermination
TypeScript
static get appTermination(): CommandGroupPlacement
Swift declaration
static let appTermination: CommandGroupPlacement
Placement for commands that result in app termination.
By default, this group includes the following command in macOS:
* Quit App
get · iOS 14.0+
systemServices
TypeScript
static get systemServices(): CommandGroupPlacement
Swift declaration
static let systemServices: CommandGroupPlacement
Placement for commands that expose services other apps provide.
By default, this group includes the following command in macOS:
* Services submenu (managed automatically)
get · iOS 14.0+
textFormatting
TypeScript
static get textFormatting(): CommandGroupPlacement
Swift declaration
static let textFormatting: CommandGroupPlacement
Placement for commands that manipulate and transform the styles
applied to text selections.
By default, this group includes the following commands in macOS:
* Font submenu
* Text submenu
get · iOS 14.0+
windowArrangement
TypeScript
static get windowArrangement(): CommandGroupPlacement
Swift declaration
static let windowArrangement: CommandGroupPlacement
Placement for commands that arrange all of an app's windows.
By default, this group includes the following command in macOS:
* Bring All to Front
get · iOS 14.0+
help
TypeScript
static get help(): CommandGroupPlacement
Swift declaration
static let help: CommandGroupPlacement
Placement for commands that present documentation and helpful
information to people.
By default, this group includes the following command in macOS:
* App Help
get · iOS 14.0+
appInfo
TypeScript
static get appInfo(): CommandGroupPlacement
Swift declaration
static let appInfo: CommandGroupPlacement
Placement for commands that provide information about the app,
the terms of the user's license agreement, and so on.
By default, this group includes the following command in macOS:
* About App
get · iOS 14.0+
newItem
TypeScript
static get newItem(): CommandGroupPlacement
Swift declaration
static let newItem: CommandGroupPlacement
Placement for commands that create different kinds of documents.
By default, this group includes the following commands in macOS:
* New
get · iOS 14.0+
sidebar
TypeScript
static get sidebar(): CommandGroupPlacement
Swift declaration
static let sidebar: CommandGroupPlacement
Placement for commands that control the app's sidebar and full-screen
modes.
By default, this group includes the following commands in macOS:
* Show/Hide Sidebar
* Enter/Exit Full Screen
get · iOS 14.0+
toolbar
TypeScript
static get toolbar(): CommandGroupPlacement
Swift declaration
static let toolbar: CommandGroupPlacement
Placement for commands that manipulate the toolbar.
By default, this group includes the following commands in macOS:
* Show/Hide Toolbar
* Customize Toolbar
get · iOS 14.0+
saveItem
TypeScript
static get saveItem(): CommandGroupPlacement
Swift declaration
static let saveItem: CommandGroupPlacement
Placement for commands that save open documents and close
windows.
By default, this group includes the following commands in macOS:
* Close
* Save
* Save As/Duplicate
* Revert to Saved
get · iOS 14.0+
undoRedo
TypeScript
static get undoRedo(): CommandGroupPlacement
Swift declaration
static let undoRedo: CommandGroupPlacement
Placement for commands that control the Undo Manager.
By default, this group includes the following commands in macOS:
* Undo
* Redo
get · iOS 14.0+
printItem
TypeScript
static get printItem(): CommandGroupPlacement
Swift declaration
static let printItem: CommandGroupPlacement
Placement for commands related to printing app content.
By default, this group includes the following commands in macOS:
* Page Setup
* Print