Re: ADC Core Data article
Re: ADC Core Data article
- Subject: Re: ADC Core Data article
- From: Evan DiBiase <email@hidden>
- Date: Fri, 8 Apr 2005 16:16:53 -0400
On Apr 8, 2005, at 3:48 PM, Scott Ellsworth wrote:
This is purely a tool problem - they could write something to check
valueForKey at runtime, but they have not done so, and thus there is a
real and practical difference.
Assuming you meant, "to check valueForKey at compile time", I'm not
sure it's possible to write such a tool. What if I override the method
to only return a value if it's after noon local time? What if a
category loaded at runtime adds the desired accessor method?
In other words, I agree that there's a difference between [foo bar] and
[foo valueForKey:@"bar"], but I disagree that it's a problem that can
be solved by better compile-time tools. (Also, for the record, I'm not
too concerned about the difference in practice.)
Evan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden