EditableEvent
struct EditableEvent : Identifiable
This allows us to treat Event records as identifiable.
-
This is why we’re identifiable.
Declaration
Swift
@MainActor let id: UUID -
The event store that goes with the event. We need to hang onto it, because, upon first time called after giving permission, the event store may be different.
Declaration
Swift
@MainActor let eventStore: EKEventStore -
The even we want to use as the basis for this calendar entry.
Declaration
Swift
@MainActor let event: EKEvent
View on GitHub