In planning a GTD plugin, I would like it to handle smart scheduling of due items and recurring items. In order to have it update automatically when the user changes/adds a due date or lead time, how can I monitor when those columns are changed? I assume that since I wouldn't need to affect the user's action of editing the column I don't need to make it a delegate method. Instead I should just be able to register to receive Notifications of the edit. Do columns updates post notifications like willBeEdited or didChange? Any hints as to what my plugin would need to observe to run a checkForDue method in response to such an edit?
Thanks,
Jeff
I think you'll need to
I think you'll need to register for NSManagedObjectContextObjectsDidChangeNotification notifications. You'll then need to iterate through the changed objects looking for EntryDatas. And then ask each EntryData for it's changedValues and see if @"dueDate" is in there. I think that should do it.