<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKEventSearchCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:@T@EKEventSearchCallback"
  },
  "title" : "EKEventSearchCallback"
}
-->

# EKEventSearchCallback

The signature for a closure that operates on events when enumerating them.

```
typealias EKEventSearchCallback = (EKEvent, UnsafeMutablePointer<ObjCBool>) -> Void
```

## Parameters

`event`

An event object to operate on.

`stop`

A pointer to a Boolean value. Set this value to <doc://com.apple.documentation/documentation/Swift/true> to stop enumerating events.

---

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)