Contents

afterOccurrences(_:)

The event stops repeating after a given number of times

Declaration

static func afterOccurrences(_ count: Int) -> Calendar.RecurrenceRule.End

Parameters

  • count:

    How many times to repeat the event, including the first occurrence. count must be greater than 0