Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

MBS Xojo Network Kit 1.0

EKReminderMB class:

Class EKReminderMB Inherits EKCalendarItemMB
ComputedProperty Completed As Boolean
Sub Set()
Whether or not the reminder is completed. Setting it to true will set the completed date to the current date. Setting it to false will set the completed date to nil.
Sub Get()
ComputedProperty completionDate As Date
Sub Set()
The date on which this reminder was completed.
Sub Get()
ComputedProperty dueDateComponents As EKDateComponentsMB
Sub Set()
The date by which this reminder should be completed. The use of date components allows the due date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSGregorianCalendar. An exception is raised otherwise. On iOS, if you set the due date for a reminder, you must also set a start date, otherwise you will receive an error (EKErrorNoStartDate) when attempting to save this reminder. This is not a requirement on OS X.
Sub Get()
ComputedProperty priority As integer
Sub Set()
The priority of the reminder. Priorities run from 1 (highest) to 9 (lowest). A priority of 0 means no priority. Saving a reminder with any other priority will fail. Per RFC 5545, priorities of 1-4 are considered "high," a priority of 5 is "medium," and priorities of 6-9 are "low."
Sub Get()
ComputedProperty startDateComponents As EKDateComponentsMB
Sub Set()
The start date of the task, as date components. The use of date components allows the start date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSGregorianCalendar. An exception is raised otherwise.
Sub Get()
Sub Constructor(Store as EKEventStoreMB)
Creates a new reminder in the given event store.
Sub Constructor(Handle as Integer, Retain as Boolean)
Create from Handle
Shared Function reminderWithEventStore(Store as EKEventStoreMB) As EKReminderMB
Creates a new reminder in the given event store.
Note "About"
Note "Completed"
// These two properties Completed and CompletionDate are inextricably linked. // Setting completed to be true, will set the completedDate to be now, // and setting any completedDate will change completed to be true. // Similarly, setting completed to be false will set // the completedDate to be nil, and setting the completedDate changes completed to NO. // Note, you may encounter the case where isCompleted is true, but completionDate is nil, // if the reminder was completed using a different client.
Note "Copyright"
© 2015 by Christian Schmitz, Monkeybread Software This is part of the MBS Xojo Event Kit for iOS http://www.monkeybreadsoftware.de/xojo/
End Class




Links
MBS FileMaker blog