Instance Method

changedKeys

Returns an array of strings representing the keys that have changed recently.

Declaration

- (NSArray<CKRecordFieldKey> *)changedKeys;

Return Value

An array of NSString objects, each of which represents a key whose value has changed since the record was downloaded or saved. If no keys have changed, this method returns an empty array.

See Also

Accessing the Record’s Fields

- objectForKey:

Returns the value for the given key stored in the record.

- setObject:forKey:

Sets the value for the specified key.

- objectForKeyedSubscript:

Returns the value for the given key stored in the record.

- setObject:forKeyedSubscript:

Adds the specified key-value pair to the record.

- allKeys

Returns an array of strings corresponding to all keys currently in the record.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software