authorizationStatus
TypeScriptstatic authorizationStatus(entityType: EKEntityType): EKAuthorizationStatusSwift declarationclass func authorizationStatus(for entityType: EKEntityType) -> EKAuthorizationStatusclass · iOS 4.0+ · SDK 27.1
class EKEventStorestatic authorizationStatus(entityType: EKEntityType): EKAuthorizationStatusSwift declarationclass func authorizationStatus(for entityType: EKEntityType) -> EKAuthorizationStatuscalendarItem(identifier: string): (EKCalendarItem) | nullSwift declarationfunc calendarItem(withIdentifier identifier: String) -> EKCalendarItem?calendarItems(externalIdentifier: string): Array<EKCalendarItem>Swift declarationfunc calendarItems(withExternalIdentifier externalIdentifier: String) -> [EKCalendarItem]calendar(identifier: string): (EKCalendar) | nullSwift declarationfunc calendar(withIdentifier identifier: String) -> EKCalendar?calendars(entityType: EKEntityType): Array<EKCalendar>Swift declarationfunc calendars(for entityType: EKEntityType) -> [EKCalendar]cancelFetchRequest(fetchIdentifier: unknown): voidSwift declarationfunc cancelFetchRequest(_ fetchIdentifier: Any)commit(): voidSwift declarationfunc commit() throwsdefaultCalendarForNewReminders(): (EKCalendar) | nullSwift declarationfunc defaultCalendarForNewReminders() -> EKCalendar?event(identifier: string): (EKEvent) | nullSwift declarationfunc event(withIdentifier identifier: String) -> EKEvent?events(predicate: _Foundation_NSPredicate): Array<EKEvent>Swift declarationfunc events(matching predicate: NSPredicate) -> [EKEvent]fetchReminders(predicate: _Foundation_NSPredicate, completion: ((arg0: (Array<EKReminder>) | null) => void)): unknownSwift declarationfunc fetchReminders(matching predicate: NSPredicate, completion: @escaping ([EKReminder]?) -> Void) -> Anystatic init(): EKEventStoreSwift declarationinit()static initSources(sources: Array<EKSource>): EKEventStoreSwift declarationinit(sources: [EKSource])predicateForCompletedReminders(startDate?: (globalThis.Date) | null, endDate?: (globalThis.Date) | null, calendars?: (Array<EKCalendar>) | null): _Foundation_NSPredicateSwift declarationfunc predicateForCompletedReminders(withCompletionDateStarting startDate: Date?, ending endDate: Date?, calendars: [EKCalendar]?) -> NSPredicatepredicateForEvents(startDate: globalThis.Date, endDate: globalThis.Date, calendars?: (Array<EKCalendar>) | null): _Foundation_NSPredicateSwift declarationfunc predicateForEvents(withStart startDate: Date, end endDate: Date, calendars: [EKCalendar]?) -> NSPredicatepredicateForIncompleteReminders(startDate?: (globalThis.Date) | null, endDate?: (globalThis.Date) | null, calendars?: (Array<EKCalendar>) | null): _Foundation_NSPredicateSwift declarationfunc predicateForIncompleteReminders(withDueDateStarting startDate: Date?, ending endDate: Date?, calendars: [EKCalendar]?) -> NSPredicatepredicateForReminders(calendars?: (Array<EKCalendar>) | null): _Foundation_NSPredicateSwift declarationfunc predicateForReminders(in calendars: [EKCalendar]?) -> NSPredicaterefreshSourcesIfNecessary(): voidSwift declarationfunc refreshSourcesIfNecessary()removeCalendar(calendar: EKCalendar, commit: boolean): voidSwift declarationfunc removeCalendar(_ calendar: EKCalendar, commit: Bool) throwsremoveSpanCommit(event: EKEvent, span: EKSpan, commit: boolean): voidSwift declarationfunc remove(_ event: EKEvent, span: EKSpan, commit: Bool) throwsremoveSpan(event: EKEvent, span: EKSpan): voidSwift declarationfunc remove(_ event: EKEvent, span: EKSpan) throwsremoveCommit(reminder: EKReminder, commit: boolean): voidSwift declarationfunc remove(_ reminder: EKReminder, commit: Bool) throwsrequestAccess(entityType: EKEntityType, completion: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc requestAccess(to entityType: EKEntityType) async throws -> BoolrequestFullAccessToEvents(completion: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc requestFullAccessToEvents() async throws -> BoolrequestFullAccessToReminders(completion: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc requestFullAccessToReminders() async throws -> BoolrequestWriteOnlyAccessToEvents(completion: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc requestWriteOnlyAccessToEvents() async throws -> Boolreset(): voidSwift declarationfunc reset()saveCalendar(calendar: EKCalendar, commit: boolean): voidSwift declarationfunc saveCalendar(_ calendar: EKCalendar, commit: Bool) throwssaveSpanCommit(event: EKEvent, span: EKSpan, commit: boolean): voidSwift declarationfunc save(_ event: EKEvent, span: EKSpan, commit: Bool) throwssaveSpan(event: EKEvent, span: EKSpan): voidSwift declarationfunc save(_ event: EKEvent, span: EKSpan) throwssaveCommit(reminder: EKReminder, commit: boolean): voidSwift declarationfunc save(_ reminder: EKReminder, commit: Bool) throwssource(identifier: string): (EKSource) | nullSwift declarationfunc source(withIdentifier identifier: String) -> EKSource?get defaultCalendarForNewEvents(): (EKCalendar) | nullSwift declarationvar defaultCalendarForNewEvents: EKCalendar? { get }get delegateSources(): Array<EKSource>Swift declarationvar delegateSources: [EKSource] { get }get eventStoreIdentifier(): stringSwift declarationvar eventStoreIdentifier: String { get }get sources(): Array<EKSource>Swift declarationvar sources: [EKSource] { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
EKEventStore.enumerateEvents(matching:using:)
synchronous callback requires a nonescaping JS-thread call