---
title: "calendars(for:)"
framework: EventKit
role: symbol
role_heading: Instance Method
platforms: [iOS 6.0+, iPadOS 6.0+, Mac Catalyst 13.1+, macOS 10.8+, visionOS 1.0+, watchOS 2.0+]
path: eventkit/ekeventstore/1507128-calendars
---

# calendars(for:)

Identifies the calendars that support a given entity type, such as reminders or events.

## Declaration

```swift
func calendars(for entityType: EKEntityType) -> [EKCalendar]
```

## Parameters

- `entityType`: The calendar’s entity type.

## Return Value

An array of calendars that support the specified entity type.

## See Also

### Accessing calendars

- [defaultCalendarForNewEvents](defaultcalendarfornewevents.md)
- [defaultCalendarForNewReminders()](defaultcalendarfornewreminders().md)
- [calendar(withIdentifier:)](calendar(withidentifier:).md)
- [saveCalendar(_:commit:)](savecalendar(_:commit:).md)
- [removeCalendar(_:commit:)](removecalendar(_:commit:).md)
- [calendars](calendars.md)
