---
title: init()
framework: cloudkit
role: symbol
role_heading: Initializer
path: cloudkit/ckfetchrecordzonesoperation/init()
---

# init()

Creates an empty fetch zones operation.

## Declaration

```swift
init()
```

## Discussion

Discussion You must set the recordZoneIDs property before you execute the operation. After creating the operation, assign a value to the fetchRecordZonesCompletionBlock property so you can process the results.

## See Also

### Initializing the Zone Fetch Operation

- [init(recordZoneIDs:)](cloudkit/ckfetchrecordzonesoperation/init(recordzoneids:).md)
