The name of the notification.
SDK
- macOS 10.13+
Framework
- App
Kit
Declaration
struct Notification
The name of the notification.
SDK
Framework
struct Notification
static let announcement Requested: NSAccessibility .Notification
This notification is posted whenever an accessibility element needs to make an announcement to the user. This notification requires a user
dictionary with the key announcement
and a localized string containing the announcement. To help an assistive app determine the importance of the announcement, add the appropriate priority
to the user
dictionary.
static let application Activated: NSAccessibility .Notification
This notification is posted after the app has been activated. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let application Deactivated: NSAccessibility .Notification
This notification is posted after the app has been deactivated. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let application Hidden: NSAccessibility .Notification
This notification is posted after the app is hidden. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let application Shown: NSAccessibility .Notification
This notification is posted after the app is shown. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let created: NSAccessibility .Notification
This notification is posted after an accessibility element is created. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let drawer Created: NSAccessibility .Notification
This notification is posted after a drawer appears. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let focused UIElement Changed: NSAccessibility .Notification
This notification is posted after an accessibility element gains focus. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let focused Window Changed: NSAccessibility .Notification
This notification is posted after the key window changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let help Tag Created: NSAccessibility .Notification
This notification is posted after a help tag appears. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let layout Changed: NSAccessibility .Notification
This notification is posted after the UI changes in a way that requires the attention of an accessibility client. This notification should be accompanied by a user
dictionary with the key ui
and an array containing the UI elements that have been added or changed. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let main Window Changed: NSAccessibility .Notification
This notification is posted after the main window changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let moved: NSAccessibility .Notification
This notification is posted after an accessibility element moves. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let resized: NSAccessibility .Notification
This notification is posted after an accessibility element’s size changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let row Collapsed: NSAccessibility .Notification
This notification is posted after a row collapses. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let row Count Changed: NSAccessibility .Notification
This notification is posted after a row is added or deleted. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let row Expanded: NSAccessibility .Notification
This notification is posted after a row expands. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Cells Changed: NSAccessibility .Notification
This notification is posted after one or more cells in a cell-based table are selected or deselected. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Children Changed: NSAccessibility .Notification
This notification is posted after one or more child elements are selected or deselected. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Children Moved: NSAccessibility .Notification
This notification is posted after the selected items in a layout area move. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Columns Changed: NSAccessibility .Notification
This notification is posted after one or more columns are selected or deselected. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Rows Changed: NSAccessibility .Notification
This notification is posted after one or more rows are selected or deselected. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let selected Text Changed: NSAccessibility .Notification
This notification is posted after text is selected or deselected. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let sheet Created: NSAccessibility .Notification
This notification is posted after a sheet appears. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let title Changed: NSAccessibility .Notification
This notification is posted after an accessibility element’s title changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let ui Element Destroyed: NSAccessibility .Notification
This notification is posted after an accessibility element is destroyed. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let units Changed: NSAccessibility .Notification
This notification is posted after the units in a layout area change. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let value Changed: NSAccessibility .Notification
This notification is posted after an accessibility element’s value changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let window Created: NSAccessibility .Notification
This notification is posted after a new window appears. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let window Deminiaturized: NSAccessibility .Notification
This notification is posted after a window is restored to full size from the Dock. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let window Miniaturized: NSAccessibility .Notification
This notification is posted after a window is put in the Dock. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let window Moved: NSAccessibility .Notification
This notification is posted after a window moves. Post this notification using the post(element:
function instead of an NSNotification
instance.
static let window Resized: NSAccessibility .Notification
This notification is posted after a window’s size changes. Post this notification using the post(element:
function instead of an NSNotification
instance.
init(raw Value: String)
Returns a new notification object with a specified name and object.
static let ui Elements: NSAccessibility .Notification User Info Key
An array of elements that are associated with the notification.
static let announcement: NSAccessibility .Notification User Info Key
The announcement, as a localized string.
static let priority: NSAccessibility .Notification User Info Key
A priority level that can help an assistive app determine how to handle the corresponding notification.
struct NSAccessibility .Notification User Info Key
The key used in the user info dictionary for notifications.