×

Create Reminder

iOS 14 +

Notes

Create a new reminder and return its unique identifier

Syntax

createReminder(title: <#String (Allows Variables)#>, priority: <#Enumeration (ReminderPriority)#>, list: <#String (Allows Variables)#>, startDateType: <#Enumeration (ReminderStartType)#>, startDateTime: <#Date#>, startDate: <#Date#>, dueDateType: <#Enumeration (ReminderDueType)#>, dueDateTime: <#Date#>, dueDate: <#Date#>, notes: <#String (Allows Variables)#>, addAlert: <#Boolean#>, date: <#Date#>, repeatType: <#Enumeration (RepeatType)#>, addLocation: <#Boolean#>, location: <#Unknown Parameter#>, locationAlertType: <#Enumeration (LocationAlertType)#>)

Example

createReminder(title: "Code some Jellycuts!", priority: High, list: "Reminders", startDateType: DateAndTime, startDateTime: 3:00 PM, startDate: CurrentDate, dueDateType: DateAndTime, dueDateTime: 3:00 PM, dueDate: CurrentDate, notes: "Code some cool shortcuts using Jellycuts", addAlert: false, date: , repeatType: Daily, addLocation: true, location: Placemark(addressDictionary: AddressDictionary(City: "", Country: "", CountryCode: "", FormattedAddressLines: ["", ""], Name: "", State: "", Street: ""), SubAdministrativeArea: "", SubThoroughfare: "", Thoroughfare: "", ZIP: ""), location: Location(altitude: 0, course: 1, horizontalAccuracy: 0.0, latitude: 0, longitude: 0, speed: 1, timestamp: 2022-02-22t22:22:22Z, verticalAccuracy: 1), region: Region(center: Center(latitude: 0.0, longitude: 0.0), identifier: "", radius: 100.0)), locationAlertType: Arriving)