---
title: "initWithRecordID:type:"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/cksyncenginependingrecordzonechange/initwithrecordid:type:"
---

# initWithRecordID:type:

Creates a record zone change of the specified type for the given record.

## Declaration

```occ
- (instancetype) initWithRecordID:(CKRecordID *) recordID type:(CKSyncEnginePendingRecordZoneChangeType) type;
```

## Parameters

- `recordID`: The identifier of the record to change.
- `type`: The type of change to make.

## Return Value

Return Value An initialized record zone change.
