---
title: "fetchReminders(matching:completion:)"
framework: eventkit
role: symbol
role_heading: Instance Method
path: "eventkit/ekeventstore/fetchreminders(matching:completion:)"
---

# fetchReminders(matching:completion:)

Fetches reminders that match a given predicate.

## Declaration

```swift
func fetchReminders(matching predicate: NSPredicate, completion: @escaping ([EKReminder]?) -> Void) -> Any
```

## Parameters

- `predicate`: A search predicate created with doc://com.apple.eventkit/documentation/EventKit/EKEventStore/predicateForReminders(in:).
- `completion`: A closure that receives the reminders that match predicate.

## Mentioned in

Retrieving events and reminders

## Return Value

Return Value A value that represents the asynchronous fetch request. To cancel a fetch request before it completes, pass this value to cancelFetchRequest(_:).

## Discussion

Discussion Only committed reminders are included in the results. To include reminders saved using save(_:commit:) with the commit parameter set to false, call commit() first. This method fetches reminders asynchronously.

## See Also

### Searching calendars

- [enumerateEvents(matching:using:)](eventkit/ekeventstore/enumerateevents(matching:using:).md)
- [events(matching:)](eventkit/ekeventstore/events(matching:).md)
- [cancelFetchRequest(_:)](eventkit/ekeventstore/cancelfetchrequest(_:).md)
- [predicateForEvents(withStart:end:calendars:)](eventkit/ekeventstore/predicateforevents(withstart:end:calendars:).md)
- [predicateForReminders(in:)](eventkit/ekeventstore/predicateforreminders(in:).md)
- [predicateForCompletedReminders(withCompletionDateStarting:ending:calendars:)](eventkit/ekeventstore/predicateforcompletedreminders(withcompletiondatestarting:ending:calendars:).md)
- [predicateForIncompleteReminders(withDueDateStarting:ending:calendars:)](eventkit/ekeventstore/predicateforincompletereminders(withduedatestarting:ending:calendars:).md)
- [EKEventSearchCallback](eventkit/ekeventsearchcallback.md)
