Contents

remove(_:span:commit:)

Removes an event or recurring events from the event store by either committing or batching the changes.

Declaration

func remove(_ event: EKEvent, span: EKSpan, commit: Bool) throws

Parameters

  • event:

    The event to remove.

  • span:

    The span that indicates whether to remove a single event or all future instances of the event in the case of a recurring event.

  • commit:

    True to remove the event immediately; otherwise, the change is batched until the Commit() method is invoked.

Mentioned in

Discussion

This method raises an exception if it’s passed an event from another event store.

See Also

Related Documentation

Accessing calendar events