<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKitUI",
  "identifier" : "/documentation/EventKitUI/EKEventEditViewController/event",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "EventKit UI"
    ],
    "preciseIdentifier" : "c:objc(cs)EKEventEditViewController(py)event"
  },
  "title" : "event"
}
-->

# event

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)