<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKSource"
  },
  "title" : "EKSource"
}
-->

# EKSource

An abstract superclass that represents the account a calendar belongs to.

```
class EKSource
```

## Overview

You do not create instances of this class; instead, you retrieve `EKSource` objects from an [`EKEventStore`](/documentation/EventKit/EKEventStore) object. Use the sources property to get all the `EKSource` objects for an event store, and use the methods in this class to access properties of the source object.

## Topics

### Accessing Source Properties

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

The type of source object.

[`sourceIdentifier`](/documentation/EventKit/EKSource/sourceIdentifier)

A unique identifier for the source object.

[`sourceType`](/documentation/EventKit/EKSource/sourceType)

The type of this source object.

[`title`](/documentation/EventKit/EKSource/title)

The name of this source object.

### Accessing Calendars

[`calendars(for:)`](/documentation/EventKit/EKSource/calendars(for:))

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

[`calendars`](/documentation/EventKit/EKSource/calendars)

The calendars that belong to this source object.

### Entity Type

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

The type of entities allowed for a source.



---

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)
