Structure
Calendar.RecurrenceRule.End
iOS 18.0+
iPadOS 18.0+
Mac Catalyst 18.0+
macOS 15.0+
tvOS 18.0+
watchOS 11.0+
When a recurring event stops recurring.
struct End
Topics
Instance Properties
var date: Date?The latest date when the event may occur This value is set when the struct was initialized with.afterDate()var occurrences: Int?At most many times the event may occur This value is set when the struct was initialized with.afterOccurrences()
Type Properties
static var never: Calendar.RecurrenceRule.EndThe event repeats indefinitely
Type Methods
static func afterDate(Date) -> Calendar.RecurrenceRule.EndThe event stops repeating after a given datestatic func afterOccurrences(Int) -> Calendar.RecurrenceRule.EndThe event stops repeating after a given number of times
Default Implementations
Relationships
Conforms To
Swift.CopyableSwift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.EscapableSwift.HashableSwift.SendableSwift.SendableMetatype