<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/ResolvedContact",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels15ResolvedContactV"
  },
  "title" : "ResolvedContact"
}
-->

# ResolvedContact

Contact information to help a search query match references to a person or organization.

```
struct ResolvedContact
```

## Overview

Use this type to specify details about the person or business that uses your app. When a query matches references to a specific
person or business, the information in this structure helps the search tool resolve references to that contact. For example, a
query that looks for the author of an email uses this information to resolve a request such as “find the emails that I authored.”
Fill in as many fields of this structure as possible with the information available to your app.

## Topics

### Creating the contact

[`init(displayName: String)`](/documentation/CoreSpotlight/ResolvedContact/init(displayName:))

### Specifying the person’s name

[`var displayName: String`](/documentation/CoreSpotlight/ResolvedContact/displayName)

The name your app displays for the contact.

[`var nameComponents: [PersonNameComponents]`](/documentation/CoreSpotlight/ResolvedContact/nameComponents)

The contact’s names as a set of structured name components.

[`var names: [String]`](/documentation/CoreSpotlight/ResolvedContact/names)

Alternate names you use to refer to the contact.

### Specifying contact information

[`var emailAddresses: [String]`](/documentation/CoreSpotlight/ResolvedContact/emailAddresses)

The email addresses for this contact.

[`var phoneNumbers: [String]`](/documentation/CoreSpotlight/ResolvedContact/phoneNumbers)

The phone numbers for this contact.

## Relationships

### Conforms To

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

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

---

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)