<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKSource/calendars(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKSource(im)calendarsForEntityType:"
  },
  "title" : "calendars(for:)"
}
-->

# calendars(for:)

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

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

## Parameters

`entityType`

The entity type of either an event or a reminder.

## Return Value

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

## See Also

[`EKEntityMask`](/documentation/EventKit/EKEntityMask)

A bitmask of `EKEntityType` for specifying multiple entities at once.



---

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)