No overview available.
SDKs
- macOS 10.9+
- Xcode 10.0+
Framework
- App
Kit
Declaration
struct NSAccessibility
No overview available.
SDKs
Framework
struct NSAccessibility
struct NSAccessibility .Notification
The name of the notification.
struct NSAccessibility .Notification User Info Key
The key used in the user info dictionary for notifications.
static let Error Code Exception Info: String
An integer error code used for debugging.
static func post(element: Any, notification: NSAccessibility .Notification)
Sends a notification to any observing assistive applications.
static func post(element: Any, notification: NSAccessibility .Notification, user Info: [NSAccessibility .Notification User Info Key : Any]?)
Sends a notification and an optional user
dictionary to any observing assistive applications.
static func raise Bad Argument Exception(Any!, NSAccessibility .Attribute!, Any!)
Raises an error if the parameter is the wrong type or has an illegal value
static func screen Point(from View: NSView, point: NSPoint) -> NSPoint
Returns the point in screen coordinates.
static func screen Rect(from View: NSView, rect: NSRect) -> NSRect
Returns the frame in screen coordinates.
static func set May Contain Protected Content(Bool) -> Bool
Sets whether the app may have protected content.
static func unignored Ancestor(of: Any) -> Any?
Returns an unignored accessibility object, ascending the hierarchy if necessary.
static func unignored Children(from: [Any]) -> [Any]
Returns a list of unignored accessibility objects, descending the hierarchy if necessary.
static func unignored Children For Only Child(from: Any) -> [Any]
Returns a list of unignored accessibility objects, descending the hierarchy if necessary.
static func unignored Descendant(of: Any) -> Any?
Returns an unignored accessibility object, descending the hierarchy if necessary.
protocol NSAccessibility Protocol
The complete list of properties and methods implemented by accessible elements.
protocol NSAccessibility Contains Transient UI
A set of methods that support accessibility in a UI that changes dynamically—usually in response to mouse-hover events.
Make your app more accessible to users with disabilities by adding accessibility features.