In the EKEventStoreChanged notification, the notification.userInfo property yields data such as “x-apple-eventkit:///Task/p1133”. That is supposed to tell which event or reminder changed in the event store. notification.object gives the event store.
What do I do with this data and what does it mean? I found documentation saying that when the calendar item that changed is an event, then I can retrieve the events and cast them to the NSManagedObject class, then take the objectID and use it to match the data from userInfo, which would also be an objectID. However, when the calendar item that changed is a reminder, I am not able to do that with a reminder. The reminder object won’t cast to an NSManagedObject. I am not able to get help on this in the Apple developer forums or on Stackexchange. If anyone has the answer for me I would really appreciate it.