Instance Method

calendars(for:)

Returns the calendars that belong to this source object that support a particular entity type.

Declaration

func calendars(for entityType: EKEntityType) -> Set<EKCalendar>

Parameters

entityType

The entity type of either an event or a reminder.

Return Value

The calendars belonging to this source that support the entity type.

See Also

Accessing Calendars

var calendars: Set<EKCalendar>

The calendars that belong to this source object.

Deprecated