Re: Detecting reading a key in KVC
Re: Detecting reading a key in KVC
- Subject: Re: Detecting reading a key in KVC
- From: Quincey Morris <email@hidden>
- Date: Wed, 10 Nov 2010 06:31:36 -0800
On Nov 10, 2010, at 06:10, email@hidden wrote:
> I was just thinking that the overrides would provide a convenient point to process all requests for undefined properties.
> Depends on the design and requirements of the model I suppose.
I don't think that's happening here -- the property isn't undefined initially, it just has an incorrect value initially. :)
The point is, I think, to avoid overriding 'valueForKey:', because of the potential horrendous performance problems that could result.
_______________________________________________
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