<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRecurrenceRule"
  },
  "title" : "INRecurrenceRule"
}
-->

# INRecurrenceRule

An object that describes the pattern to use when repeating an event.

```
class INRecurrenceRule
```

## Overview

Use an [`INRecurrenceRule`](/documentation/Intents/INRecurrenceRule) object to define a repeating pattern for date ranges. Typically, you use recurrence rules when defining date ranges that you associate with a trigger, such as an [`INTemporalEventTrigger`](/documentation/Intents/INTemporalEventTrigger) object. Using a recurrence rule avoids the need to create a new trigger each time the old one fires.

## Topics

### Initializing a Recurrence Rule

[`convenience init(interval: Int, frequency: INRecurrenceFrequency)`](/documentation/Intents/INRecurrenceRule/init(interval:frequency:))

Initializes the recurrence rule to the specified frequency and interval.

### Getting the Rule Conditions

[`var frequency: INRecurrenceFrequency`](/documentation/Intents/INRecurrenceRule/frequency)

The time frame for which the rule applies.

[`enum INRecurrenceFrequency`](/documentation/Intents/INRecurrenceFrequency)

The time frame for which the rule applies.

[`var interval: Int`](/documentation/Intents/INRecurrenceRule/interval)

The interval at which the recurrence rule is applied.

### Initializers

[`init?(coder: NSCoder)`](/documentation/Intents/INRecurrenceRule/init(coder:))

[`init(interval: Int, frequency: INRecurrenceFrequency, weeklyRecurrenceDays: INDayOfWeekOptions)`](/documentation/Intents/INRecurrenceRule/init(interval:frequency:weeklyRecurrenceDays:))

### Instance Properties

[`var weeklyRecurrenceDays: INDayOfWeekOptions`](/documentation/Intents/INRecurrenceRule/weeklyRecurrenceDays)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)