• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ADC Core Data article
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: ADC Core Data article (From: Philippe Mougin <email@hidden>)
 >Re: ADC Core Data article (From: Shawn Erickson <email@hidden>)
 >Re: ADC Core Data article (From: Charlton Wilbur <email@hidden>)
 >Re: ADC Core Data article (From: Scott Ellsworth <email@hidden>)

  • Prev by Date: Re: Ordered lists WAS ADC Core Data article
  • Next by Date: Re: ADC Core Data article
  • Previous by thread: Re: ADC Core Data article
  • Next by thread: Re: ADC Core Data article
  • Index(es):
    • Date
    • Thread