Instance Method

addRecurrenceRule(_:)

Adds a recurrence rule to the recurrence rule array.

Declaration

func addRecurrenceRule(_ rule: EKRecurrenceRule)

Parameters

rule

The rule to be added to recurrenceRules.

Discussion

The implementation only supports a single recurrence rule. Adding a recurrence rule replaces the single recurrence rule.

See Also

Setting Recurrence Rules

var hasRecurrenceRules: Bool

A Boolean value that indicates whether the calendar item has recurrence rules.

func removeRecurrenceRule(EKRecurrenceRule)

Removes a recurrence rule from the recurrence rule array.

var recurrenceRules: [EKRecurrenceRule]?

The recurrence rules for the calendar item.