• 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: Apple guys: is the XCode generated CD accessor code decent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple guys: is the XCode generated CD accessor code decent?


  • Subject: Re: Apple guys: is the XCode generated CD accessor code decent?
  • From: Scott Stevenson <email@hidden>
  • Date: Fri, 27 May 2005 11:36:36 -0700


On May 27, 2005, at 11:20 AM, Scott Ellsworth wrote:

In the context menu item for a Core Data attribute, you will find 'copy method implementations to clipboard".
[...]

Does doing this cause a significant performance overhead over plain old valueForKey?  It did not seem to on my very simple tests, but those were, as I said, simple.  I suspect you guys have a better idea of what valueForKey/setValue:forKey is doing in the background.


It shouldn't, but that's somewhat beside the point.

If you need to do something special (such as return C primitives) when object values are set/get, this is most practical way to do it. I wouldn't generate them "just because," since it means more code to compile and maintain.

     - Scott


--

http://treehouseideas.com/

http://theocacao.com/ [blog]



 _______________________________________________
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

  • Follow-Ups:
    • Re: Apple guys: is the XCode generated CD accessor code decent?
      • From: Scott Ellsworth <email@hidden>
References: 
 >Apple guys: is the XCode generated CD accessor code decent? (From: Scott Ellsworth <email@hidden>)

  • Prev by Date: Re: Interfacing PHP with Cocoa
  • Next by Date: Re: How to get NSTableView to notice a change in NSTableDataModel
  • Previous by thread: Apple guys: is the XCode generated CD accessor code decent?
  • Next by thread: Re: Apple guys: is the XCode generated CD accessor code decent?
  • Index(es):
    • Date
    • Thread