Contents

init(selectionStyle:displayStyle:entityType:eventStore:)

Initializes a newly created calendar chooser for a specific entity type.

Declaration

init(selectionStyle style: EKCalendarChooserSelectionStyle, displayStyle: EKCalendarChooserDisplayStyle, entityType: EKEntityType, eventStore: EKEventStore)

Parameters

  • style:

    Determines whether to allow selection of multiple calendars. Possible values are described in Ekcalendarchooserselectionstyle.

  • displayStyle:

    Determines which calendars to display. Possible values are described in Ekcalendarchooserdisplaystyle.

  • entityType:

    The entity type of the calendar. Possible values are Event and Reminder.

  • eventStore:

    The event store to which the calendars belong.

Return Value

The initialized calendar chooser.

See Also

Initializing Calendar Choosers