Instance Method


Returns the object that receives the action message specified by the given selector


- (id)targetForAction:(SEL)action;



The desired action message.

Return Value

The object that would receive the specified action message or nil if no target object would receive the message. This method also returns nil if aSelector is nil.

See Also

Posting Actions

- tryToPerform:with:

Dispatches an action message to the specified target.

- sendAction:to:from:

Sends the given action message to the given target.

- targetForAction:to:from:

Searches for an object that can receive the message specified by the given selector.