afterOccurrences(_:)
The event stops repeating after a given number of times
Declaration
static func afterOccurrences(_ count: Int) -> Calendar.RecurrenceRule.EndParameters
- count:
How many times to repeat the event, including the first occurrence.
countmust be greater than0