---
title: "init(eventStore:)"
framework: eventkit
role: symbol
role_heading: Initializer
path: "eventkit/ekevent/init(eventstore:)"
---

# init(eventStore:)

Creates and returns a new event belonging to a specified event store.

## Declaration

```swift
init(eventStore: EKEventStore)
```

## Parameters

- `eventStore`: The event store to which the event belongs.

## Mentioned in

Creating events and reminders

## Return Value

Return Value The created event.

## See Also

### Related Documentation

- [Calendar and Reminders Programming Guide](apple-archive/documentation/DataManagement/Conceptual/EventKitProgGuide/Introduction.md)
