On Wed, Dec 2, 2009 at 11:37 AM, Quincey Morris
<quinceymor...@earthlink.net> wrote:
> In some cases, you can do the wrong thing -- change the instance variable 
> directly -- and still be KVO compatible if you manually call the 
> willChangeValueForKey:/didChangeValueForKey: methods (or the similar ones 
> designed specifically for collections), but that approach is kind of frowned 
> on, not to mention difficult to get right in general.

I don't know why you call this the "wrong thing."  This is very much a
reasonable thing to do, and in many non-trivial cases you will have to
do exactly this.

--Kyle Sluder
_______________________________________________

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