Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSInvocation for a class method?



Duh, Silly me. For some reason I thought +class returned some opaque struct

thanks,

Graham


On 18 Jul 2008, at 4:27 pm, Kyle Sluder wrote:

On Fri, Jul 18, 2008 at 1:46 AM, Graham Cox <email@hidden> wrote:
Can I use NSInvocation for a class method? I can't really see what to use
for setTarget: as there isn't an actual object.

Erm? Just send messages to the Class object. Class objects return self in response to +class.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Using NSInvocation for a class method? (From: Graham Cox <email@hidden>)
 >Re: Using NSInvocation for a class method? (From: "Kyle Sluder" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.