Initializer

init(ekRecurrenceRule:)

Initializes the date range using the specified recurrence rule.

Declaration

convenience init(ekRecurrenceRule recurrenceRule: EKRecurrenceRule)

Parameters

recurrenceRule

An Event Kit recurrence rule.

Return Value

An initialized 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.

See Also

Initializing a Date Components Range

init(start: DateComponents?, end: DateComponents?)

Initializes the object using the specified start and end dates.