Re: Bindings vs MOC change notification

2009-11-14 Thread jonat...@mugginsoft.com
On 14 Nov 2009, at 02:11, David Catmull wrote: > In my Core Data app, I have objects with a date property, and I want to > maintain a list of all years that I have objects in. I'm having trouble > settling on an approach. > > Currently, I'm listening for > NSManagedObjectContextObjectsDidChang

Re: Bindings vs MOC change notification

2009-11-13 Thread Kyle Sluder
On Fri, Nov 13, 2009 at 6:11 PM, David Catmull wrote: > Currently, I'm listening for > NSManagedObjectContextObjectsDidChangeNotification. This is working fine for > additions and deletions, but it's harder for changes, mainly because I don't > know the old value. If I did, I could check if the

Re: Bindings vs MOC change notification

2009-11-13 Thread Jerry Krinock
First of all, after reading your message, I believe the subject of your message should be "KVO vs MOC change notification". But we all get our terms mixed up once in awhile :) On 2009 Nov 13, at 18:11, David Catmull wrote: Recommendations? Other options? I believe there is no easy answer

Bindings vs MOC change notification

2009-11-13 Thread David Catmull
In my Core Data app, I have objects with a date property, and I want to maintain a list of all years that I have objects in. I'm having trouble settling on an approach. Currently, I'm listening for NSManagedObjectContextObjectsDidChangeNotification. This is working fine for additions and delet