Instance Method インスタンスメソッド

shouldEnableAction(for:identifier:)

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

Declaration 宣言

func shouldEnableAction(for person: ABPerson!, 
             identifier: String!) -> Bool

Parameters パラメータ

person

The person on which the action will be taken.

identifier

The unique identifier of the selected value.

Return Value 戻り値

true if the action is applicable; otherwise, false.

Discussion 解説

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

See Also 参照

Querying