<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPeoplePickerView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPeoplePickerView"
  },
  "title" : "ABPeoplePickerView"
}
-->

# ABPeoplePickerView

An object you use to customize the behavior of people-picker views in an app’s user interface.

```
class ABPeoplePickerView
```

## Topics

### Working with Properties in the Record List

[`-  addProperty:`](/documentation/AddressBook/ABPeoplePickerView/addProperty(_:))

Adds a property to the group of properties whose values are shown in the record list.

[`-  columnTitleForProperty:`](/documentation/AddressBook/ABPeoplePickerView/columnTitle(forProperty:))

Returns the title of a custom property.

[`displayedProperty`](/documentation/AddressBook/ABPeoplePickerView/displayedProperty)

The property currently displayed in the record list.

[`-  properties`](/documentation/AddressBook/ABPeoplePickerView/properties())

Returns an array of the properties whose values are shown in the record list.

[`-  removeProperty:`](/documentation/AddressBook/ABPeoplePickerView/removeProperty(_:))

Removes a property from the group of properties whose values are shown in the record list.

[`-  setColumnTitle:forProperty:`](/documentation/AddressBook/ABPeoplePickerView/setColumnTitle(_:forProperty:))

Sets the title displayed in the people picker for a property.

### Specifying Selection Behavior

[`valueSelectionBehavior`](/documentation/AddressBook/ABPeoplePickerView/valueSelectionBehavior)

The current selection behavior.

[`ABPeoplePickerSelectionBehavior`](/documentation/AddressBook/ABPeoplePickerSelectionBehavior)

Constants indicating the possible value selection behaviors.

### Selecting Groups and Records

[`allowsGroupSelection`](/documentation/AddressBook/ABPeoplePickerView/allowsGroupSelection)

A Boolean value that specifies whether the user can select entire groups in the group column.

[`allowsMultipleSelection`](/documentation/AddressBook/ABPeoplePickerView/allowsMultipleSelection)

A Boolean value that specifies whether multiple groups, records, or values of multivalue properties can be selected at a time.

[`-  deselectAll:`](/documentation/AddressBook/ABPeoplePickerView/deselectAll(_:))

Deselects all selected groups, records, and values in multivalue properties.

[`-  deselectGroup:`](/documentation/AddressBook/ABPeoplePickerView/deselect(_:)-3x7tl)

Deselects a group selected in the group list.

[`-  deselectIdentifier:forPerson:`](/documentation/AddressBook/ABPeoplePickerView/deselectIdentifier(_:for:))

Deselects a value selected in a multivalue property.

[`-  deselectRecord:`](/documentation/AddressBook/ABPeoplePickerView/deselect(_:)-1yy11)

Deselects a record selected in the record list.

[`selectedGroups`](/documentation/AddressBook/ABPeoplePickerView/selectedGroups)

The groups selected in the group list. (read-only)

[`-  selectedIdentifiersForPerson:`](/documentation/AddressBook/ABPeoplePickerView/selectedIdentifiers(for:))

Returns the identifiers of the selected values in a multivalue property.

[`selectedRecords`](/documentation/AddressBook/ABPeoplePickerView/selectedRecords)

The selection in the records list. (read-only)

[`-  selectedValues`](/documentation/AddressBook/ABPeoplePickerView/selectedValues())

Returns an array of all the values selected in the displayed multivalue property.

[`-  selectGroup:byExtendingSelection:`](/documentation/AddressBook/ABPeoplePickerView/select(_:byExtendingSelection:)-6mrii)

Selects a group or a set of groups in the group list.

[`-  selectIdentifier:forPerson:byExtendingSelection:`](/documentation/AddressBook/ABPeoplePickerView/selectIdentifier(_:for:byExtendingSelection:))

Selects a value or a set of values in a multivalue property.

[`-  selectRecord:byExtendingSelection:`](/documentation/AddressBook/ABPeoplePickerView/select(_:byExtendingSelection:)-9eldk)

Selects a record or a set of records in the record list.

### Specifying the Accessory View

[`accessoryView`](/documentation/AddressBook/ABPeoplePickerView/accessoryView)

The view that is placed to the left of the search field.

### Managing Actions

[`-  clearSearchField:`](/documentation/AddressBook/ABPeoplePickerView/clearSearchField(_:))

Clears the search field and resets the list of displayed records.

[`-  editInAddressBook:`](/documentation/AddressBook/ABPeoplePickerView/editInAddressBook(_:))

Launches Address Book to edit the item selected in the people picker.

[`groupDoubleAction`](/documentation/AddressBook/ABPeoplePickerView/groupDoubleAction)

The action to be invoked when a group is double-clicked.

[`nameDoubleAction`](/documentation/AddressBook/ABPeoplePickerView/nameDoubleAction)

The action to be invoked when a name is double-clicked.

[`-  selectInAddressBook:`](/documentation/AddressBook/ABPeoplePickerView/selectInAddressBook(_:))

Launches Address Book and selects the item selected in the people picker.

[`target`](/documentation/AddressBook/ABPeoplePickerView/target)

The target for double-click actions.

### Managing Persistent User Settings

[`autosaveName`](/documentation/AddressBook/ABPeoplePickerView/autosaveName)

The name under which the column positions and the filter selection are saved.

### Notifications

[`ABPeoplePickerGroupSelectionDidChangeNotification`](/documentation/AddressBook/ABPeoplePickerGroupSelectionDidChangeNotification)

Posted when the selection in the group list is changed.

[`ABPeoplePickerNameSelectionDidChangeNotification`](/documentation/AddressBook/ABPeoplePickerNameSelectionDidChangeNotification)

Posted when the selection in the name list is changed.

[`ABPeoplePickerValueSelectionDidChangeNotification`](/documentation/AddressBook/ABPeoplePickerValueSelectionDidChangeNotification)

Posted when the selection in a multivalue property is changed.

[`ABPeoplePickerDisplayedPropertyDidChangeNotification`](/documentation/AddressBook/ABPeoplePickerDisplayedPropertyDidChangeNotification)

Posted when the displayed property in the record list is changed.

## Relationships

### Inherits From

[`NSView`](/documentation/AppKit/NSView)

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`NSAccessibilityProtocol`](/documentation/AppKit/NSAccessibilityProtocol)

[`NSUserActivityRestoring`](/documentation/AppKit/NSUserActivityRestoring)

[`NSAnimatablePropertyContainer`](/documentation/AppKit/NSAnimatablePropertyContainer)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`NSAppearanceCustomization`](/documentation/AppKit/NSAppearanceCustomization)

[`NSDraggingDestination`](/documentation/AppKit/NSDraggingDestination)

[`NSStandardKeyBindingResponding`](/documentation/AppKit/NSStandardKeyBindingResponding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSAccessibilityElementProtocol`](/documentation/AppKit/NSAccessibilityElementProtocol)

[`NSUserInterfaceItemIdentification`](/documentation/AppKit/NSUserInterfaceItemIdentification)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

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)