---
title: EKSource
framework: eventkit
role: symbol
role_heading: Class
path: eventkit/eksource
---

# EKSource

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

## Declaration

```swift
class EKSource
```

## Overview

Overview You do not create instances of this class; instead, you retrieve EKSource objects from an 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](eventkit/eksourcetype.md)
- [sourceIdentifier](eventkit/eksource/sourceidentifier.md)
- [sourceType](eventkit/eksource/sourcetype.md)
- [title](eventkit/eksource/title.md)

### Accessing Calendars

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

### Entity Type

- [EKEntityType](eventkit/ekentitytype.md)

### Instance Properties

- [isDelegate](eventkit/eksource/isdelegate.md)

## Relationships

### Inherits From

- [EKObject](eventkit/ekobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Common objects

- [EKCalendarItem](eventkit/ekcalendaritem.md)
- [EKObject](eventkit/ekobject.md)
