---
title: EKRecurrenceEnd
framework: eventkit
role: symbol
role_heading: Class
path: eventkit/ekrecurrenceend
---

# EKRecurrenceEnd

A class that defines the end of a recurrence rule.

## Declaration

```swift
class EKRecurrenceEnd
```

## Mentioned in

Creating a recurring event

## Overview

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

- [init(end:)](eventkit/ekrecurrenceend/init(end:).md)
- [init(occurrenceCount:)](eventkit/ekrecurrenceend/init(occurrencecount:).md)

### Accessing Recurrence End Properties

- [endDate](eventkit/ekrecurrenceend/enddate.md)
- [occurrenceCount](eventkit/ekrecurrenceend/occurrencecount.md)

### Initializers

- [init(coder:)](eventkit/ekrecurrenceend/init(coder:).md)
- [init(endDate:)](eventkit/ekrecurrenceend/init(enddate:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Recurrence

- [Creating a recurring event](eventkit/creating-a-recurring-event.md)
- [EKRecurrenceDayOfWeek](eventkit/ekrecurrencedayofweek.md)
- [EKRecurrenceRule](eventkit/ekrecurrencerule.md)
