Class

EKCalendar

A class that represents a calendar in Event Kit.

Declaration

@interface EKCalendar : EKObject

Overview

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

Topics

Creating Calendars

+ calendarForEntityType:eventStore:

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

+ calendarWithEventStore:

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

Deprecated

Accessing Calendar Properties

EKCalendarType

Possible calendar types.

EKCalendarEventAvailabilityMask

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

allowsContentModifications

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

CGColor

The calendar’s color.

color

The calendar’s color.

immutable

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

title

The calendar’s title.

type

The calendar’s type.

allowedEntityTypes

The entity types this calendar can contain.

source

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

subscribed

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

supportedEventAvailabilities

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

calendarIdentifier

A unique identifier for the calendar.

Relationships

Inherits From

See Also

Calendars

EKParticipant

A class that represents a participant in a calendar event.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software