---
title: EKEventEditViewController
framework: eventkitui
role: symbol
role_heading: Class
path: eventkitui/ekeventeditviewcontroller
---

# EKEventEditViewController

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

## Declaration

```swift
class EKEventEditViewController
```

## Overview

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](eventkitui/ekeventeditviewcontroller/editviewdelegate.md)
- [EKEventEditViewDelegate](eventkitui/ekeventeditviewdelegate.md)

### Creating and Saving Events

- [event](eventkitui/ekeventeditviewcontroller/event.md)
- [eventStore](eventkitui/ekeventeditviewcontroller/eventstore.md)

### Canceling Edits to Events

- [cancelEditing()](eventkitui/ekeventeditviewcontroller/cancelediting().md)

## Relationships

### Inherits From

- [UINavigationController](uikit/uinavigationcontroller.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSExtensionRequestHandling](foundation/nsextensionrequesthandling.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UIContentContainer](uikit/uicontentcontainer.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIPasteConfigurationSupporting](uikit/uipasteconfigurationsupporting.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UIStateRestoring](uikit/uistaterestoring.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)
