<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKRecurrenceEnd",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKRecurrenceEnd"
  },
  "title" : "EKRecurrenceEnd"
}
-->

# EKRecurrenceEnd

A class that defines the end of a recurrence rule.

```
class EKRecurrenceEnd
```

## Overview

The `EKRecurrenceEnd` class defines the end of a recurrence rule defined by an [`EKRecurrenceRule`](/documentation/EventKit/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:)`](/documentation/EventKit/EKRecurrenceEnd/init(end:))

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

[`init(occurrenceCount:)`](/documentation/EventKit/EKRecurrenceEnd/init(occurrenceCount:))

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

### Accessing Recurrence End Properties

[`endDate`](/documentation/EventKit/EKRecurrenceEnd/endDate)

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

[`occurrenceCount`](/documentation/EventKit/EKRecurrenceEnd/occurrenceCount)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
