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

# EKCalendar

A class that represents a calendar in EventKit.

```
class EKCalendar
```

## Overview

Use the properties in this class to get attributes about a calendar, such as its title and type. Use the [`init(for:eventStore:)`](/documentation/EventKit/EKCalendar/init(for:eventStore:)) method to create a calendar object.

## Topics

### Creating Calendars

[`init(for:eventStore:)`](/documentation/EventKit/EKCalendar/init(for:eventStore:))

Creates a new calendar that can contain the given entity type.

[`init(eventStore:)`](/documentation/EventKit/EKCalendar/init(eventStore:))

Creates and returns a calendar belonging to a specified event store.

### Accessing Calendar Properties

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

Possible calendar types.

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

A bitmask indicating the event availability settings that the calendar can support.

[`allowsContentModifications`](/documentation/EventKit/EKCalendar/allowsContentModifications)

A Boolean value that indicates whether you can add, edit, and delete items in the calendar.

[`cgColor`](/documentation/EventKit/EKCalendar/cgColor)

The calendar’s color.

[`color`](/documentation/EventKit/EKCalendar/color)

The calendar’s color.

[`isImmutable`](/documentation/EventKit/EKCalendar/isImmutable)

A Boolean value indicating whether the calendar’s properties can be edited or deleted.

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

The calendar’s title.

[`type`](/documentation/EventKit/EKCalendar/type)

The calendar’s type.

[`allowedEntityTypes`](/documentation/EventKit/EKCalendar/allowedEntityTypes)

The entity types this calendar can contain.

[`source`](/documentation/EventKit/EKCalendar/source)

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

[`isSubscribed`](/documentation/EventKit/EKCalendar/isSubscribed)

A Boolean value indicating whether the calendar is a subscribed calendar.

[`supportedEventAvailabilities`](/documentation/EventKit/EKCalendar/supportedEventAvailabilities)

The event availability settings supported by this calendar, as indicated by a bitmask.

[`calendarIdentifier`](/documentation/EventKit/EKCalendar/calendarIdentifier)

A unique identifier for the calendar.

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

A deprecated function.

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

A deprecated function.



---

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)
