init(for:eventStore:)
Creates a new calendar that can contain the given entity type.
Declaration
init(for entityType: EKEntityType, eventStore: EKEventStore)Parameters
- entityType:
The entity type that this calendar may support.
- eventStore:
The event store in which to create this calendar.
Return Value
The created calendar.
Discussion
You can only create calendars that accept either reminders or events. Some servers might allow mixing the two, although it is not common.