Re: Key path help for complex binding
Re: Key path help for complex binding
- Subject: Re: Key path help for complex binding
- From: Kyle Sluder <email@hidden>
- Date: Wed, 2 Dec 2009 12:18:52 -0800
On Wed, Dec 2, 2009 at 11:37 AM, Quincey Morris
<email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden