I would like to create a NSPredicate that can access reminders in a particular named list of a Reminders App. The Reminders App has the ability to create reminders in named lists. The EKReminder class (or EKCalendar that it inherits from) described in https://developer.apple.com/doocumentation/eventkit/ekreminder do not have a property that relates to the named list. Help would be appreciated particularly if includes a snippet in Swift.
How can I access reminders in a list in a Apple Reminders App programmatically
1.5k views Asked by Syed Tariq At
1
I used a well written library in Reminders-cli to find out details of the Reminders App database.
1 - All Reminder lists are stored as separate calendars. The list can be accessed by
2 - Reminders in a particular list (eg: 'Workout') can be accessed with a statement such as:
3 - If lists are part of a 'Group', then the first item in the list is the name of the group. It is not clear how the group name is identified as a 'Group'. If you build a Group in the Reminder App the display in the app shows the Group name with the the constituents of the Group indented.
4 - My ContentView.swift file
}
5 - My copy of the library Reminders.swift