On 19 Jun 2013, at 15:45, Noah Desch <[email protected]> wrote:

> I have had really weird issues with NSManagedObjects KVOing themselves. I 
> would recommend you instead override the dynamic setters for all the 
> attributes whose value affects your computed property and clear your pre 
> computed value there. 

There is an important difference to note between the two:

During undo/redo operations, Core Data does not call custom setter methods you 
may have implemented. Instead it sets the primitive value more directly. KVO by 
contrast still fires during undo/redo.


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to