Saves a calendar to the event store by either committing or batching the changes.
- iOS 5.0+
- macOS 10.8+
- Mac Catalyst 13.0+
The calendar to be saved.
YESto save the calendar immediately; otherwise, the change is batched until the
commit:method is invoked.
The error that occurred, if any; otherwise,
YES if successful; otherwise,
This method raises an exception if
calendar belongs to another event store.