Re: loop efficiency & messages
Re: loop efficiency & messages
- Subject: Re: loop efficiency & messages
- From: Sherm Pendley <email@hidden>
- Date: Wed, 23 Mar 2005 12:25:31 -0500
On Mar 23, 2005, at 10:33 AM, Charilaos Skiadas wrote:
I think Johnny was actually referring to the fact that KVC comes for
free if you have named your accessors for the item as "setItem:" and
"item", and he was referring to using the "item" name for the method,
instead of the "getItem" name, which KVC would not see automatically.
That's not what the KVC docs say.
<http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueCoding/index.html>
From that page, the first step in the search pattern used by
-valueForKey: is: "Search the receiver’s class for an accessor method
whose name matches the pattern -get<Key>, -<key>, or -is<Key>, in that
order."
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
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