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

# init(name:estimatedPickupDate:)

Initializes and returns a ride option object with the specified name and pickup information.

```
init(name: String, estimatedPickupDate: Date)
```

## Parameters

`name`

The name of the ride option as a user-readable string. The system displays this string to the user during the ride selection process and when confirming the ride. Use this string to provide a unique description of the ride being offered.

`estimatedPickupDate`

The estimated time of arrival for the ride at the user’s location. This information is presented to the user during the ride selection process.

## Return Value

An initialized ride option object or `nil` if the object could not be initialized.

## Discussion

After initializing the object, fill in the other properties of the newly created object before adding it to your response object.

---

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)