Instance Property

allTargets

Returns all target objects associated with the control.

Declaration

@property(nonatomic, readonly) NSSet *allTargets;

Return Value

A set of all target objects associated with the control. The returned set may include one or more NSNull objects to indicate actions that are dispatched to the responder chain.

See Also

Accessing the Control’s Targets and Actions

- addTarget:action:forControlEvents:

Associates a target object and action method with the control.

- removeTarget:action:forControlEvents:

Stops the delivery of events to the specified target object.

- actionsForTarget:forControlEvent:

Returns the actions performed on a target object when the specified event occurs.

allControlEvents

Returns the events for which the control has associated actions.