Instance Property

delegate

The object that acts as the delegate of the accessory.

Declaration

unowned(unsafe) var delegate: EAAccessoryDelegate? { get set }

Discussion

The delegate receives notifications about changes to the status of the accessory object. The delegate must adopt the EAAccessoryDelegate protocol.

See Also

Responding to Disconnection Events

protocol EAAccessoryDelegate

A protocol that defines an optional method for receiving notifications when the associated accessory object is disconnected.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software