Contents

CKFetchRecordZonesOperation

An operation for retrieving record zones from a database.

Declaration

class CKFetchRecordZonesOperation

Mentioned in

Overview

Use this operation object to fetch record zones so that you can ascertain their capabilities.

If you assign a handler to the completionBlock property of the operation, CloudKit calls it after the operation executes and returns its results. You can use the handler to perform any housekeeping tasks that relate to the operation, but don’t use it to process the results of the operation. The handler you specify should manage any failures, whether due to an error or an explicit cancellation.

Topics

Initializing the Zone Fetch Operation

Getting All Record Zones

Configuring a Zone Fetch Operation

Processing Zone Fetch Results

Instance Properties

See Also

Fetch Requests