---
title: source
framework: eventkit
role: symbol
role_heading: Instance Property
path: eventkit/ekcalendar/source
---

# source

The source object representing the account to which this calendar belongs.

## Declaration

```swift
var source: EKSource! { get set }
```

## Discussion

Discussion This property can only be set for newly created calendar objects. This property is read-only after the first time it is set; setting a value to this property after the first time it is set will result in an error. Therefore, moving a calendar from one source to another is not supported.

## See Also

### Accessing Calendar Properties

- [EKCalendarType](eventkit/ekcalendartype.md)
- [EKCalendarEventAvailabilityMask](eventkit/ekcalendareventavailabilitymask.md)
- [allowsContentModifications](eventkit/ekcalendar/allowscontentmodifications.md)
- [cgColor](eventkit/ekcalendar/cgcolor.md)
- [color](eventkit/ekcalendar/color.md)
- [isImmutable](eventkit/ekcalendar/isimmutable.md)
- [title](eventkit/ekcalendar/title.md)
- [type](eventkit/ekcalendar/type.md)
- [allowedEntityTypes](eventkit/ekcalendar/allowedentitytypes.md)
- [isSubscribed](eventkit/ekcalendar/issubscribed.md)
- [supportedEventAvailabilities](eventkit/ekcalendar/supportedeventavailabilities.md)
- [calendarIdentifier](eventkit/ekcalendar/calendaridentifier.md)
- [DATETIME_COMPONENTS_DO_NOT_USE()](eventkit/datetime_components_do_not_use().md)
- [DATE_COMPONENTS_DO_NOT_USE()](eventkit/date_components_do_not_use().md)
