event
The event the user creates or edits using this view controller.
Declaration
var event: EKEvent? { get set }Discussion
If nil, creates and adds a new event to the default calendar’s event store. To avoid throwing an exception, ensure that the event is in the specified event store.