Type Alias

EKEventStoreRequestAccessCompletionHandler

The signature for a block object used for operating on events with the requestAccess(to:completion:) method.

Declaration

typealias EKEventStoreRequestAccessCompletionHandler = (Bool, Error?) -> Void

See Also

Accessing the Event Store

enum EKAuthorizationStatus

The current authorization status for a specific entity type.

typealias EKEventSearchCallback

The signature for a block object used for operating on events with the enumerateEvents(matching:using:) method.

func requestAccess(to: EKEntityType, completion: EKEventStoreRequestAccessCompletionHandler)

Prompts the user to grant or deny access to event or reminder data.

class func authorizationStatus(for: EKEntityType) -> EKAuthorizationStatus

Returns the authorization status for the given entity type.

var eventStoreIdentifier: String

The unique identifier for the event store.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software