Skip to content

Type Method

afterDate(_:)

iOS 18.0+ iPadOS 18.0+ Mac Catalyst 18.0+ macOS 15.0+ tvOS 18.0+ watchOS 11.0+
The event stops repeating after a given date
static func afterDate(_ date: Date) -> Calendar.RecurrenceRule.End

Parameters

date

The date on which the event may last occur. No further occurrences will be found after that