Initializer

init(end:)

Initializes and returns a date-based recurrence end with a given end date.

Declaration

convenience init(end endDate: Date)

Parameters

endDate

The end date.

Return Value

The initialized recurrence end.

Discussion

The end date argument must be a valid NSDate and not nil; otherwise an exception will be raised.

See Also

Creating a Recurrence End

init(occurrenceCount: Int)

Initializes and returns a count-based recurrence end with a given maximum occurrence count.