Contents

setPositions

An array of ordinal numbers that filters which recurrences to include in the recurrence rule’s frequency.

Declaration

var setPositions: [NSNumber]? { get }

Discussion

For example, a yearly recurrence rule that has a daysOfTheWeek value that specifies Monday through Friday, and a setPositions array containing 2 and -1, occurs only on the second weekday and last weekday of every year. Values can be from 1 to 366 and from -1 to -366.

Negative values indicate counting backwards from the end of the recurrence rule’s frequency (week, month, or year).

See Also

Accessing Recurrence Rule Properties