EventKit creates, accesses, and edits calendar events and reminders stored in the Calendar and Reminders databases, and delivers change notifications when that data is modified. You work through an EKEventStore to fetch and save EKEvent and EKReminder items, which inherit shared properties from EKCalendarItem, and organize them within an EKCalendar drawn from an EKSource. The framework models the details of scheduling, including EKAlarm reminders, recurrence through EKRecurrenceRule and EKRecurrenceEnd, attendees represented by EKParticipant, and authorization state via EKAuthorizationStatus and EKEntityType.
Essentials 2
The central store and base type for accessing and saving calendar and reminder data.
- ClEKEventStoremacOS 10.8+@class EKEventStore
- ClEKObjectmacOS 10.8+An abstract base class for EventKit model objects.
Calendar Items 3
The shared item type and its concrete event and reminder subclasses.
- ClEKCalendarItemmacOS 10.8+An abstract base class for events and reminders that defines their shared properties.
- ClEKEventmacOS 10.8+@class EKEvent
- ClEKRemindermacOS 10.8+@class EKReminder
Calendars and Sources 4
The calendars that contain items and the accounts that back them.
- ClEKCalendarmacOS 10.8+@class EKCalendar
- ClEKSourcemacOS 10.8+An object that represents an account, such as iCloud or Exchange, that provides calendars.
- EnEKCalendarType@enum EKCalendarType
- EnEKSourceTypeConstants that specify the type of a source, such as local, Exchange, or iCloud.
Alarms and Locations 4
Reminders triggered by time or location and the places they reference.
- ClEKAlarmmacOS 10.8+@class EKAlarm
- ClEKStructuredLocationmacOS 10.8+An object that represents a geographic location associated with an event or alarm.
- EnEKAlarmProximity@enum EKAlarmProximity
- EnEKAlarmType@enum EKAlarmType
Recurrence 4
Rules and components that describe how events and reminders repeat over time.
- ClEKRecurrenceRulemacOS 10.8+@class EKRecurrenceRule
- ClEKRecurrenceEndmacOS 10.8+@class EKRecurrenceEnd
- ClEKRecurrenceDayOfWeekmacOS 10.8+@class EKRecurrenceDayOfWeek
- EnEKRecurrenceFrequency@enum EKRecurrenceFrequency
Participants 5
The people invited to an event and their roles, types, and response status.
- ClEKParticipantmacOS 10.8+@class EKParticipant
- EnEKParticipantType@enum EKParticipantType
- EnEKParticipantRole@enum EKParticipantRole
- EnEKParticipantStatus@enum EKParticipantStatus
- EnEKParticipantScheduleStatus@enum EKParticipantScheduleStatus
Virtual Conferences 4
Descriptors and providers that attach video-conferencing details to events.
- ClEKVirtualConferenceProvidermacOS 12.0+@class EKVirtualConferenceProvider
- ClEKVirtualConferenceDescriptormacOS 12.0+@class EKVirtualConferenceDescriptor
- ClEKVirtualConferenceURLDescriptormacOS 12.0+@class EKVirtualConferenceURLDescriptor
- ClEKVirtualConferenceRoomTypeDescriptormacOS 12.0+@class EKVirtualConferenceRoomTypeDescriptor
Authorization and Entity Types 3
Values that describe access permission and the kinds of data EventKit manages.
- EnEKAuthorizationStatusmacOS 10.9+@enum EKAuthorizationStatus
- EnEKEntityType@enum EKEntityType
- StEKEntityMask@enum EKEntityMask
Event Properties and Status 5
Values that describe an event's availability, status, and edit span.
- EnEKEventAvailabilityConstants that specify the availability of an event, such as busy or free.
- EnEKEventStatusConstants that specify the status of an event, such as confirmed or canceled.
- EnEKSpan@enum EKSpan
- StEKCalendarEventAvailabilityMaskAn option set that specifies the availability values a calendar supports for events.
- EnEKReminderPriority@enum EKReminderPriority
Errors 1
The error type reported by EventKit operations.
- StEKErrorAn error that EventKit reports when an operation fails.
Enumerations 1
- EnEKWeekday
Type Aliases 3
- TyEKEventSearchCallback
- TyEKEventStoreRequestAccessCompletionHandler
- TyEKVirtualConferenceRoomTypeIdentifier