Class

EKCalendarChooser

An instance of the EKCalendarChooser class is a view controller that displays an interface for selecting one or more calendars in an event store. This view controller can be pushed on a navigation stack or presented modally. Use a delegate that conforms to the EKCalendarChooserDelegate protocol to receive callbacks when the user selects calendars or cancels the operation.

Symbols

Accessing Properties

var delegate: EKCalendarChooserDelegate?

The calendar chooser’s delegate.

var selectedCalendars: Set<EKCalendar>

The calendars selected by the user.

var selectionStyle: EKCalendarChooserSelectionStyle

Determines whether multiple selections are allowed.

Changing the Appearance

var showsCancelButton: Bool

A Boolean value that determines whether the Cancel button is shown when this controller is presented modally by a navigation controller.

var showsDoneButton: Bool

A Boolean value that determines whether the Done button is shown when this controller is presented modally by a navigation controller.

Constants

EKCalendarChooserDisplayStyle

The style of the chooser.

EKCalendarChooserSelectionStyle

The style of selecting calendars.