Instance Method

init

Initializes and returns an operation object.

Declaration

- (instancetype)init;

Discussion

When using this initializer it is expected that the recordsToSave and/or the recordIDsToDelete properties will be populated before the operation is handed off to a database to be executed.

See Also

Initializing the Operation Object

- initWithRecordsToSave:recordIDsToDelete:

Initializes and returns an operation object configured to save and delete the specified records.

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