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

# init(interval:frequency:)

Initializes the recurrence rule to the specified frequency and interval.

```
convenience init(interval: Int, frequency: INRecurrenceFrequency)
```

## Parameters

`interval`

The interval at which to repeat the specified time frame.

`frequency`

The time frame over which to repeat the event. For a list of possible values, see [`INRecurrenceFrequency`](/documentation/Intents/INRecurrenceFrequency).

## Return Value

An initialized [`INRecurrenceRule`](/documentation/Intents/INRecurrenceRule) object or `nil` if the object could not be created.

---

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)