<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSPerson/init(displayName:handles:handleIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Spotlight"
    ],
    "preciseIdentifier" : "c:objc(cs)CSPerson(im)initWithDisplayName:handles:handleIdentifier:"
  },
  "title" : "init(displayName:handles:handleIdentifier:)"
}
-->

# init(displayName:handles:handleIdentifier:)

Returns a new `CSPerson` object initialized with the specified display name and contact attributes.

```
init(displayName: String?, handles: [String], handleIdentifier: String)
```

## Parameters

`displayName`

The name of the person in a user-displayable string.

`handles`

An array of contact handles, such as phone number or email address.

`handleIdentifier`

A property key that specifies a handle type, such as <doc://com.apple.documentation/documentation/Contacts/CNContactEmailAddressesKey>.

## Return Value

An initialized person object that represents a user’s contact.

---

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)