Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

EKEventStoreMBS.calendarItemsWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns either the event’s first occurrences or the reminders with the specified external identifier.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.calendarItemWithIdentifier(identifier as string) as EKCalendarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns either the event’s first occurrence or the reminder with the specified identifier.
Notes: Returs the reminder or the first occurrence of an event with the specified identifier.

Feedback, Comments & Corrections

EKEventStoreMBS.calendarsForEntityType(types as Integer) as EKCalendarMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns calendars that support a given entity type, such as reminders or events.

Feedback, Comments & Corrections

EKEventStoreMBS.calendarWithIdentifier(identifier as string) as EKCalendarMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns the calendar with the specified identifier.

Feedback, Comments & Corrections

EKEventStoreMBS.cancelFetchRequest(request as EKFetchRequestMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Cancels the request to fetch reminders.
Notes:
Pass the request you got from fetchRemindersMatchingPredicate method.
The fetchRemindersMatchingPredicateCompleted event will not fire.

Feedback, Comments & Corrections

EKEventStoreMBS.commit(byref error as NSErrorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Commits all unsaved changes to the event store.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: The default constructor.

See also:

Feedback, Comments & Corrections

EKEventStoreMBS.Constructor(types as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Initializes access to the event store with support for the given entity type.
Notes:
Available in OS X v10.8 and later.
Deprecated in OS X v10.9.

See also:

Feedback, Comments & Corrections

EKEventStoreMBS.Destructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: The destructor.

Feedback, Comments & Corrections

EKEventStoreMBS.enumerateEventsMatchingPredicate(predicate as NSPredicateMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Finds all events that match a given predicate and calls enumerateEventsMatchingPredicateUpdate event for each event found.
Notes:
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:span:commit:error: with the commit parameter set to NO must call commit beforehand to be included.

This method is synchronous.

Feedback, Comments & Corrections

EKEventStoreMBS.eventsMatchingPredicate(predicate as NSPredicateMBS) as EKEventMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns all events that match a given predicate.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.eventsMatchingPredicateAsync(predicate as NSPredicateMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns all events that match a given predicate.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.eventsWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 18.1 Yes No No Yes, macOS only No
Function: Returns events with the specified external identifier.
Notes: Same as calendarItemsWithExternalIdentifier, but only returning events.

Feedback, Comments & Corrections

EKEventStoreMBS.eventWithIdentifier(identifier as string) as EKEventMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Returns the first occurrence of an event with a given identifier.
Notes: The event corresponding to identifier, or nil if no event is found.

Feedback, Comments & Corrections

EKEventStoreMBS.fetchRemindersMatchingPredicate(predicate as NSPredicateMBS, tag as Variant = nil) as EKFetchRequestMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches reminders matching a given predicate asynchronously.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.fetchRemindersMatchingPredicateSync(predicate as NSPredicateMBS) as EKReminderMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 18.1 Yes No No Yes, macOS only No
Function: Fetches reminders matching a given predicate synchronously.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as date, endDate as date) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches completed reminders in a set of calendars within an optional range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches completed reminders in a set of calendars within an optional range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForEvents(startDate as date, endDate as date) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Creates and returns a predicate for finding events in the event store that fall within a given date range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForEvents(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Creates and returns a predicate for finding events in the event store that fall within a given date range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as date, endDate as date) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches incomplete reminders in a set of calendars within an optional range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches incomplete reminders in a set of calendars within an optional range.
Notes:
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:

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForRemindersInCalendar(calendar as EKCalendarMBS) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches all reminders in a calendar.
Notes: The created predicate to be used for fetchRemindersMatchingPredicate methods.

Feedback, Comments & Corrections

EKEventStoreMBS.predicateForRemindersInCalendars(calendars() as EKCalendarMBS) as NSPredicateMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Fetches all reminders in a set of calendars.
Notes: The created predicate to be used for fetchRemindersMatchingPredicate methods.

Feedback, Comments & Corrections

EKEventStoreMBS.refreshSourcesIfNecessary
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Pulls new data from remote sources if necessary.
Notes: Use this method to pull new data from remote sources if the local data is out of date.

Feedback, Comments & Corrections

EKEventStoreMBS.remindersWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 18.1 Yes No No Yes, macOS only No
Function: Returns reminders with the specified external identifier.
Notes: Same as calendarItemsWithExternalIdentifier, but only returning reminders.

Feedback, Comments & Corrections

EKEventStoreMBS.reminderWithIdentifier(identifier as string) as EKCalendarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 18.1 Yes No No Yes, macOS only No
Function: Returns the reminder with the specified identifier.
Notes: Same as calendarItemWithIdentifier, but for reminders only.

Feedback, Comments & Corrections

EKEventStoreMBS.removeCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Removes a calendar from the event store by either batching or committing the changes.
Notes:
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.

Feedback, Comments & Corrections

EKEventStoreMBS.removeEvent(event as EKEventMBS, span as Integer, commit as boolean, byref error as NSErrorMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Calendar MBS Mac64bit Plugin 15.3 Yes No No Yes, macOS only No
Function: Removes an event or recurring events from the event store by either batching or committing the changes.
Notes:
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.

Feedback, Comments & Corrections

Next items

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





Links
MBS Xojo Plugins