Simple question but I'm not finding an answer in the docs or by googling. 

I have a property Foo in my managed object and I want to add code in a subclass 
to update some internal state when Foo's changed. Is it sufficient override the 
setPrimitiveFoo: method, add my update code and call the superclass' version, 
i.e. does core data implement setFoo: by *always* calling the primitive method, 
setPrimativeFoo: or do I need to add the code in both setFoo: and 
setPrimitiveFoo:? 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to