<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.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/EKEventStore/predicateForCompletedReminders(withCompletionDateStarting:ending:calendars:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKEventStore(im)predicateForCompletedRemindersWithCompletionDateStarting:ending:calendars:"
  },
  "title" : "predicateForCompletedReminders(withCompletionDateStarting:ending:calendars:)"
}
-->

# predicateForCompletedReminders(withCompletionDateStarting:ending:calendars:)

Creates a predicate to identify all completed reminders that occur within a given date range.

```
func predicateForCompletedReminders(withCompletionDateStarting startDate: Date?, ending endDate: Date?, calendars: [EKCalendar]?) -> NSPredicate
```

## Parameters

`startDate`

The start date of the range of reminders fetched, or `nil` for all completed reminders before `endDate`.

`endDate`

The end date of the range of reminders fetched, or `nil` for all completed reminders after `startDate`.

`calendars`

An array of calendars to search.

## Return Value

A predicate to use when calling [`fetchReminders(matching:completion:)`](/documentation/EventKit/EKEventStore/fetchReminders(matching:completion:)).

## Discussion

Pass `nil` for both `startDate` and `endDate` to get all complete reminders in the specified calendars.

---

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)