Contents

weeksOfTheYear

The weeks of the year associated with the recurrence rule, as an array of NSNumber objects.

Declaration

var weeksOfTheYear: [NSNumber]? { get }

Discussion

Values can be from 1 to 53 and from -1 to -53. This property value is valid only for recurrence rules initialized with specific weeks of the year and a frequency type of EKRecurrenceFrequency.yearly.

Negative values indicate counting backwards from the end of the year.

See Also

Accessing Recurrence Rule Properties