---
title: "calendars(for:)"
framework: eventkit
role: symbol
role_heading: Instance Method
path: "eventkit/eksource/calendars(for:)"
---

# calendars(for:)

Returns the calendars that belong to this source object that support a particular entity type.

## Declaration

```swift
func calendars(for entityType: EKEntityType) -> Set<EKCalendar>
```

## Parameters

- `entityType`: The entity type of either an event or a reminder.

## Return Value

Return Value The calendars belonging to this source that support the entity type.

## See Also

### Related Documentation

- [EKEntityMask](eventkit/ekentitymask.md)

### Accessing Calendars

- [calendars](eventkit/eksource/calendars.md)
