Instance Method

shouldEnableActionForPerson:identifier:

Sent to the delegate to determine whether the action should be enabled.

Declaration

- (BOOL)shouldEnableActionForPerson:(ABPerson *)person identifier:(NSString *)identifier;

Parameters

person

The person on which the action will be taken.

identifier

The unique identifier of the selected value.

Return Value

YES if the action is applicable; otherwise, NO.

Discussion

If the property returned by actionProperty is a multivalue property, identifier contains the unique identifier of the value selected.

See Also

Querying

- actionProperty

Sent to the delegate to request the property the action applies to.

- titleForPerson:identifier:

Sent to the delegate to request the title of the menu item for the action.