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

# init(eventStore:)

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

## Declaration

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

## Parameters

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

## Return Value

Return Value The created calendar.

## See Also

### Creating Calendars

- [init(for:eventStore:)](eventkit/ekcalendar/init(for:eventstore:).md)
