Class

EKEventEditViewController

A view controller for creating, editing, and deleting calendar events.

Declaration

@interface EKEventEditViewController : UINavigationController

Overview

Presented modally, the event edit view controller provides a way for users to add new events, as well as edit or delete events from their calendar. New events are added to the user's default calendar unless they choose another calendar in the UI.

The controller includes delegates to receive a notification when the user saves an edit or deletes an event, or cancels from an edit session. The delegate must conform to EKEventEditViewDelegate.

Topics

Managing the Event Editing Interface

editViewDelegate

The delegate to notify when editing an event.

EKEventEditViewDelegate

A notification sent to the delegate when the user finishes editing an event.

Creating and Saving Events

event

The event the user creates or edits using this view controller.

eventStore

The event store used to save the event.

Canceling Edits to Events

- cancelEditing

Ends the editing session and discards any changes that were made to the event.

Relationships