<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRestaurant/init(location:name:vendorIdentifier:restaurantIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRestaurant(im)initWithLocation:name:vendorIdentifier:restaurantIdentifier:"
  },
  "title" : "init(location:name:vendorIdentifier:restaurantIdentifier:)"
}
-->

# init(location:name:vendorIdentifier:restaurantIdentifier:)

Initializes a restaurant object with some identifying information.

```
init(location: CLLocation, name: String, vendorIdentifier: String, restaurantIdentifier: String)
```

## Parameters

`location`

The location of the restaurant, specified as a geographic map coordinate. This value represents where the restaurant’s marker shows up on the map.

`name`

The name of the restaurant.

`vendorIdentifier`

A unique string that identifies the provider of the restaurant data. Typically, this string is your company’s domain name formatted as a reverse-DNS string such as `com.example`.

`restaurantIdentifier`

The unique identifier that you provided Apple for the specified restaurant.

## Return Value

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

## Discussion

---

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)