Contents

NSAccessibilitySwitch

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a switch.

Declaration

protocol NSAccessibilitySwitch : NSAccessibilityButton

Overview

Use this protocol when you want a user interface element to behave like a switch—a control that toggles between an on state and an off state—in the accessibility hierarchy.

You can further enhance the adopting element by implementing any of the information properties or action methods that the NSAccessibilityProtocol protocol declares.

Topics

Supporting Accessibility

See Also

Buttons