<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/NSObject-swift.class/performAction(for:identifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Objective-C Runtime",
      "ObjectiveC"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObject(im)performActionForPerson:identifier:"
  },
  "title" : "performAction(for:identifier:)"
}
-->

# performAction(for:identifier:)

Sent to the delegate to perform the action.

```
func performAction(for person: ABPerson!, identifier: String!)
```

## Parameters

`person`

The person on which the action will be taken.

`identifier`

The unique identifier of the selected value.

## Discussion

If the property returned by [`actionProperty()`](/documentation/ObjectiveC/NSObject-swift.class/actionProperty()) is a multivalue property, `identifier` contains the unique identifier of the value selected. The person being displayed in the Address Book application’s card view when the rollover menu is accesses is passed as `person`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)