---
title: EKCalendar
framework: eventkit
role: symbol
role_heading: Class
path: eventkit/ekcalendar
---

# EKCalendar

A class that represents a calendar in EventKit.

## Declaration

```swift
class EKCalendar
```

## Mentioned in

Retrieving events and reminders

## Overview

Overview Use the properties in this class to get attributes about a calendar, such as its title and type. Use the init(for:eventStore:) method to create a calendar object.

## Topics

### Creating Calendars

- [init(for:eventStore:)](eventkit/ekcalendar/init(for:eventstore:).md)
- [init(eventStore:)](eventkit/ekcalendar/init(eventstore:).md)

### 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)
- [source](eventkit/ekcalendar/source.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)

### Initializers

- [init(forEntityType:eventStore:)](eventkit/ekcalendar/init(forentitytype:eventstore:).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

### Calendars

- [EKParticipant](eventkit/ekparticipant.md)
