Instance Method

saveReminder:commit:error:

Saves changes to a reminder by either committing or batching the changes.

Declaration

- (BOOL)saveReminder:(EKReminder *)reminder commit:(BOOL)commit error:(NSError * _Nullable *)error;

Parameters

reminder

The reminder to be saved.

commit

A Boolean value indicating whether to save the reminder immediately or to batch the changes; passing NO will not commit changes to the event store until the commit: method is invoked.

error

The error that occurred, if any; otherwise, nil.

Return Value

If successful, YES; otherwise, NO.

Discussion

This method raises an exception if reminder belongs to another event store.

See Also