<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRestaurantGuest/init(nameComponents:phoneNumber:emailAddress:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRestaurantGuest(im)initWithNameComponents:phoneNumber:emailAddress:"
  },
  "title" : "init(nameComponents:phoneNumber:emailAddress:)"
}
-->

# init(nameComponents:phoneNumber:emailAddress:)

Initializes the object with the specified name and contact information for the user.

```
init(nameComponents: PersonNameComponents?, phoneNumber: String?, emailAddress: String?)
```

## Parameters

`nameComponents`

The name of the user who is creating or managing the reservation.

`phoneNumber`

The phone number to use when contacting the user about reservations. Specify the information as a user-readable string that can be displayed in the reservations interface.

`emailAddress`

The email address to use when contacting the user about reservations. Specify the information as a user-readable string that can be displayed in the reservations interface.

## Return Value

An initialized restaurant guest object or `nil` if the object could not be created.

## Discussion

This method stores a copy of the `phoneNumber` and `emailAddress` objects that you provide.

---

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)