On Wed, 30 Jun 2010 18:02:38 -0400, Laurent Daudelin
<laur...@nemesys-soft.com> said:
>On Jun 30, 2010, at 17:48, Greg Parker wrote:
>
>> On Jun 30, 2010, at 2:42 PM, Laurent Daudelin wrote:
>>> Yes, I know that, but can you send an instance method to a class object?
>> 
>> Yes, you can. Every class object is itself an instance of NSObject.
>
>Thanks, Greg. I guess you learn something new every day

Apple's own "Cocoa Fundamentals Guide" is well worth reading. It's truly
excellent, and tells about Cocoa fundamentals (i.e. things one needs to know
in order to use Cocoa):

<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Cocoa
Fundamentals/CocoaObjects/CocoaObjects.html#//apple_ref/doc/uid/TP40002974-C
H4-SW35>

"Instance methods defined in a root class can be performed both by instances
and by class objects. Therefore, all class objects have access to the
instance methods defined in the root class."

m.

-- 
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to