Class

EKRecurrenceEnd

A class that defines the end of a recurrence rule.

Declaration

@interface EKRecurrenceEnd : NSObject

Overview

The EKRecurrenceEnd class defines the end of a recurrence rule defined by an EKRecurrenceRule object. The recurrence end can be specified by a date (date-based) or by a maximum count of occurrences (count-based). An event that is intended to continue indefinitely should have its EKRecurrenceEnd set to nil.

Topics

Creating a Recurrence End

+ recurrenceEndWithEndDate:

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

+ recurrenceEndWithOccurrenceCount:

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

Accessing Recurrence End Properties

endDate

The end date of the recurrence end, or nil if the recurrence end is count-based.

occurrenceCount

The occurrence count of the recurrence end, or 0 if the recurrence end is date-based.

Relationships

Inherits From

See Also

Recurrence

Creating a Recurring Event

Set up an event or reminder that repeats.

EKRecurrenceDayOfWeek

A class that represents the day of the week.

EKRecurrenceRule

A class that describes the recurrence pattern for a recurring event.