Initializes and returns a simple recurrence rule with a given frequency, interval, and end.
- iOS 4.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- watchOS 2.0+
The frequency of the recurrence rule. Can be daily, weekly, monthly, or yearly.
The interval between instances of this recurrence. For example, a weekly recurrence rule with an interval of
2occurs every other week. Must be greater than
The end of the recurrence rule.
The initialized recurrence rule, or
nil if invalid values are provided.