<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INDateComponentsRange/init(ekRecurrenceRule:)-5p7kt",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INDateComponentsRange(im)initWithEKRecurrenceRule:"
  },
  "title" : "init(ekRecurrenceRule:)"
}
-->

# init(ekRecurrenceRule:)

Initializes the date range using the specified recurrence rule.

```
convenience init(ekRecurrenceRule recurrenceRule: EKRecurrenceRule)
```

## Parameters

`recurrenceRule`

An Event Kit recurrence rule.

## Return Value

An initialized [`INDateComponentsRange`](/documentation/Intents/INDateComponentsRange) object.

## Discussion

Use this method to initialize the date range from Event Kit recurrence rules. For example, apps that support the creation of calendar events and reminders using Event Kit might use this method to specify date ranges when processing intents.

---

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)