Instance Method

initWithInterval:frequency:

Initializes the recurrence rule to the specified frequency and interval.

Declaration

- (instancetype)initWithInterval:(NSUInteger)interval frequency:(INRecurrenceFrequency)frequency;

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.

Return Value

An initialized INRecurrenceRule object or nil if the object could not be created.