---
title: ODQueryDelegate
framework: opendirectory
role: symbol
role_heading: Protocol
path: opendirectory/odquerydelegate
---

# ODQueryDelegate

The ODQueryDelegate protocol defines methods for receiving results returned from an Open Directory query.

## Declaration

```swift
protocol ODQueryDelegate : NSObjectProtocol
```

## Topics

### Receiving results from a scheduled query

- [query(_:foundResults:error:)](opendirectory/odquerydelegate/query(_:foundresults:error:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
