Platforms to show: All Mac Windows Linux Cross-Platform

Back to EKEventStoreMBS class.

Next items

EKEventStoreMBS.calendarItemsWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns either the event’s first occurrences or the reminders with the specified external identifier.

externalIdentifier: The calendar item’s external identifier.

Returns an array of calendar items with the specified identifier.

The external identifier can be obtained from the calendarItemExternalIdentifier property. There may be more than one matching calendar item due to reasons discussed in calendarItemExternalIdentifier.

EKEventStoreMBS.calendarItemWithIdentifier(identifier as string) as EKCalendarItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns either the event’s first occurrence or the reminder with the specified identifier.

Returs the reminder or the first occurrence of an event with the specified identifier.

EKEventStoreMBS.calendarsForEntityType(types as Integer) as EKCalendarMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns calendars that support a given entity type, such as reminders or events.

EKEventStoreMBS.calendarWithIdentifier(identifier as string) as EKCalendarMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the calendar with the specified identifier.

EKEventStoreMBS.cancelFetchRequest(request as EKFetchRequestMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Cancels the request to fetch reminders.

Pass the request you got from fetchRemindersMatchingPredicate method.
The fetchRemindersMatchingPredicateCompleted event will not fire.

EKEventStoreMBS.commit(byref error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Commits all unsaved changes to the event store.

error: The error variable to be filled with an error object.

If the commit operation succeeded, true is returned; otherwise, false. Returns true even when there are no changes to commit.

This method allows you to save batched changes to the event store. For example, if you pass false as the commit parameter to the saveCalendar, removeCalendar, saveEvent, or removeEvent methods, the changes are not saved until this method is invoked. Likewise, if you pass true as the commit parameter to the aforementioned methods, there is no need to call this method.

EKEventStoreMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The default constructor.

See also:

EKEventStoreMBS.Constructor(sources() as EKSourceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 22.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an event store that contains data for the specified sources.

sources: An array of sources the event source should contain. This array may include delegate sources.

An event store that contains data for a specific collection of event sources.

See also:

EKEventStoreMBS.Constructor(types as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Initializes access to the event store with support for the given entity type.

Available in OS X v10.8 and later.
Deprecated in OS X v10.9.

See also:

EKEventStoreMBS.delegateSources as EKSourceMBS()   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 22.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
This item is deprecated and should no longer be used. You can use sources instead.
The event sources delegated to the user.

By default, delegate event sources aren’t included in an event store’s sources. To access events and reminders in a delegate source:

  • Initialize an EKEventStore using init.
  • Use requestAccessToEntityType:completion: to request access to the desired entity types.
  • Get the delegate sources from the event store using delegateSources.
  • After the request is granted, initialize another EKEventStoreMBS using Constructor, passing the delegate stores.

EKEventStoreMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The destructor.

EKEventStoreMBS.enumerateEventsMatchingPredicate(predicate as NSPredicateMBS, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Finds all events that match a given predicate and calls enumerateEventsMatchingPredicateUpdate event for each event found.

predicate: The search predicate. Must be created with the predicateForEventsWithStartDate:endDate:calendars method.

Only events that have been committed are included in enumeration.
Events saved using saveEvent with the commit parameter set to NO must call commit beforehand to be included.

This method is synchronous.

EKEventStoreMBS.eventsMatchingPredicate(predicate as NSPredicateMBS) as EKEventMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns all events that match a given predicate.

Returns all events that match predicate, as an array of EKEvent objects.

Only events that have been committed are included in the results. Events saved using saveEvent with the commit parameter set to false must call commit beforehand to be included.

This method is synchronous.

Some examples using this method:

EKEventStoreMBS.eventsMatchingPredicateAsync(predicate as NSPredicateMBS, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns all events that match a given predicate.

Calls later eventsMatchingPredicateAsyncCompleted event with all events that match predicate, as an array of EKEvent objects.

Only events that have been committed are included in the results. Events saved using saveEvent with the commit parameter set to false must call commit beforehand to be included.

This method is asynchronous.

EKEventStoreMBS.eventsWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns events with the specified external identifier.

Same as calendarItemsWithExternalIdentifier, but only returning events.

EKEventStoreMBS.eventWithIdentifier(identifier as string) as EKEventMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the first occurrence of an event with a given identifier.

The event corresponding to identifier, or nil if no event is found.

EKEventStoreMBS.fetchRemindersMatchingPredicate(predicate as NSPredicateMBS, tag as Variant = nil) as EKFetchRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches reminders matching a given predicate asynchronously.

predicate: The search predicate.

Returns a value to be used in cancelFetchRequest to cancel the request later if desired.

Only reminders that have been committed are included in the results. Reminders saved using saveReminder with the commit parameter set to NO must call commit beforehand to be included.

This method fetches reminders asynchronously.
Calls FetchedReminders event later on success.

Some examples using this method:

EKEventStoreMBS.fetchRemindersMatchingPredicateSync(predicate as NSPredicateMBS) as EKReminderMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches reminders matching a given predicate synchronously.

Same as fetchRemindersMatchingPredicate, except that we wait for result and return it without calling an event.

Only reminders that have been committed are included in the results. Reminders saved using saveReminder with the commit parameter set to NO must call commit beforehand to be included.

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as date, endDate as date) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Fetches completed reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

Pass nil for startDate to find all reminders completed before endDate. Similarly, pass nil for both startDate and endDate to get all complete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Fetches completed reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

Pass nil for startDate to find all reminders completed before endDate. Similarly, pass nil for both startDate and endDate to get all complete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as dateTime, endDate as dateTime) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches completed reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

Pass nil for startDate to find all reminders completed before endDate. Similarly, pass nil for both startDate and endDate to get all complete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches completed reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

Pass nil for startDate to find all reminders completed before endDate. Similarly, pass nil for both startDate and endDate to get all complete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForEvents(startDate as date, endDate as date) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates and returns a predicate for finding events in the event store that fall within a given date range.

startDate: The start date of the range of events fetched.
endDate: The end date of the range of events fetched.
calendars: Optional. The calendars to search, as an array of EKCalendarMBS objects. Passing nil indicates to search all calendars.

See also:

Some examples using this method:

EKEventStoreMBS.predicateForEvents(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates and returns a predicate for finding events in the event store that fall within a given date range.

startDate: The start date of the range of events fetched.
endDate: The end date of the range of events fetched.
calendars: Optional. The calendars to search, as an array of EKCalendarMBS objects. Passing nil indicates to search all calendars.

See also:

EKEventStoreMBS.predicateForEvents(startDate as dateTime, endDate as dateTime) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates and returns a predicate for finding events in the event store that fall within a given date range.

startDate: The start date of the range of events fetched.
endDate: The end date of the range of events fetched.
calendars: Optional. The calendars to search, as an array of EKCalendarMBS objects. Passing nil indicates to search all calendars.

See also:

EKEventStoreMBS.predicateForEvents(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates and returns a predicate for finding events in the event store that fall within a given date range.

startDate: The start date of the range of events fetched.
endDate: The end date of the range of events fetched.
calendars: Optional. The calendars to search, as an array of EKCalendarMBS objects. Passing nil indicates to search all calendars.

See also:

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as date, endDate as date) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Fetches incomplete reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate:completion:.

Pass nil for startDate to find all reminders due before endDate. Similarly, pass nil for both startDate and endDate to get all incomplete reminders in the specified calendars.

See also:

Some examples using this method:

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Fetches incomplete reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate:completion:.

Pass nil for startDate to find all reminders due before endDate. Similarly, pass nil for both startDate and endDate to get all incomplete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as dateTime, endDate as dateTime) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches incomplete reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate:completion:.

Pass nil for startDate to find all reminders due before endDate. Similarly, pass nil for both startDate and endDate to get all incomplete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches incomplete reminders in a set of calendars within an optional range.

startDate: The starting bound of the range to search.
endDate: The ending bound of the range to search.
calendars: Optional. An array of calendars to search.

The created predicate to be used for fetchRemindersMatchingPredicate:completion:.

Pass nil for startDate to find all reminders due before endDate. Similarly, pass nil for both startDate and endDate to get all incomplete reminders in the specified calendars.

See also:

EKEventStoreMBS.predicateForRemindersInCalendar(calendar as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches all reminders in a calendar.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

EKEventStoreMBS.predicateForRemindersInCalendars(calendars() as EKCalendarMBS) as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Fetches all reminders in a set of calendars.

The created predicate to be used for fetchRemindersMatchingPredicate methods.

EKEventStoreMBS.refreshSourcesIfNecessary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Pulls new data from remote sources if necessary.

Use this method to pull new data from remote sources if the local data is out of date.

EKEventStoreMBS.remindersWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns reminders with the specified external identifier.

Same as calendarItemsWithExternalIdentifier, but only returning reminders.

EKEventStoreMBS.reminderWithIdentifier(identifier as string) as EKCalendarItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the reminder with the specified identifier.

Same as calendarItemWithIdentifier, but for reminders only.

EKEventStoreMBS.removeCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Removes a calendar from the event store by either batching or committing the changes.

calendar: The calendar to be removed.
commit: True to remove the calendar immediately; otherwise, the change is batched until the commit: method is invoked.
error: The error that occurred, if any; otherwise, nil.

Returns ture if successful; otherwise, false.
This method raises an exception if calendar belongs to another event store.

EKEventStoreMBS.removeEvent(event as EKEventMBS, span as integer, byref error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 22.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Removes an event from the event store.

event: The event to remove.
span: The span that indicates whether to remove a single event or all future instances of the event in the case of a recurring event.
error: A pointer to an error object. If an error occurs, this pointer provides access to the error. If you don’t need the error information, pass nil.

Return true if the event store successfully removes the event; otherwise, NO. This method also returns false if event isn’t in the event store.

This method raises an exception if the event belongs to another event store.

Same as other saveEvent, but with commit = false.

See also:

EKEventStoreMBS.removeEvent(event as EKEventMBS, span as Integer, commit as boolean, byref error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Removes an event or recurring events from the event store by either batching or committing the changes.

event: The event to remove.
span: The span to use. Indicates whether the remove affects future instances of the event in the case of a recurring event.
commit: True to remove the event immediately; otherwise, the change is batched until the commit: method is invoked.
error: The error that occurred, if any did. Otherwise, nil.

If the event has successfully removed, true; otherwise, false. Also returns false if event cannot be removed because it is not in the event store.

This method raises an exception if it is passed an event from another event store.

See also:

EKEventStoreMBS.removeReminder(reminder as EKReminderMBS, commit as boolean, byref error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Removes a reminder from the event store by either committing or batching the changes.

reminder: The reminder to be removed.
commit: A Boolean value indicating whether to remove the reminder immediately or to batch the removals; passing NO will not commit the removal from the event store until the commit: method is invoked.
error: The error that occurred, if any; otherwise, nil.

If successful, true; otherwise, false.
This method raises an exception if reminder belongs to another event store.

EKEventStoreMBS.requestAccessToEntityType(entityType as Integer, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Prompts the user to grant or deny access to event or reminder data.

entityType: The event or reminder entity type.

Requesting access to an event store asynchronously prompts your users for permission to use their data. The user is only prompted the first time your app requests access to an entity type; any subsequent instantiations of EKEventStore uses existing permissions. When the user taps to grant or deny access, the requestAccessToEntityTypeCompleted event will be called on an arbitrary queue. Your app is not blocked while the user decides to grant or deny permission.

After users choose their permission level, the event store either calls the event.
Available in OS X v10.9 and later.

Some examples using this method:

EKEventStoreMBS.requestFullAccessToEvents(tag as variant = nil)   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Prompts people to grant or deny read and write access to event data.

Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests full access to events; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.

Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.

EKEventStoreMBS.requestFullAccessToReminders(tag as variant = nil)   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Prompts people to grant or deny read and write access to reminders.

Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests access to reminders; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.

Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.

EKEventStoreMBS.requestWriteOnlyAccessToEvents(tag as variant = nil)   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Prompts the person using your app to grant or deny write access to event data.

Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests write-only event access; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.

Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.

EKEventStoreMBS.reset

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the event store to its saved state.

This method updates all the properties of all the objects with their corresponding values in the event store. Any local changes that were not saved before invoking this method will be lost. All objects that were created or retrieved using this store are disassociated from it and should be considered invalid.

EKEventStoreMBS.saveCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Saves a calendar to the event store by either committing or batching the changes.

calendar: The calendar to be saved.
commit: True to save the calendar immediately; otherwise, the change is batched until the commit method is invoked.
error: The error that occurred, if any; otherwise, nil.

Returns true if successful; otherwise, false.

This method raises an exception if calendar belongs to another event store.

Next items

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...