<!--
{
  "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/calendarItem(withIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKEventStore(im)calendarItemWithIdentifier:"
  },
  "title" : "calendarItem(withIdentifier:)"
}
-->

# calendarItem(withIdentifier:)

Locates a reminder or the first occurrence of an event with the specified identifier.

```
func calendarItem(withIdentifier identifier: String) -> EKCalendarItem?
```

## Parameters

`identifier`

The calendar item’s unique identifier.

## Return Value

The reminder or the first occurrence of an event with the specified identifier, or `nil` if neither is found.

---

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)