passing around Protocols like passing SEL?
passing around Protocols like passing SEL?
- Subject: passing around Protocols like passing SEL?
- From: aaron smith <email@hidden>
- Date: Sun, 20 Dec 2009 12:15:54 -0800
Hey all, quick question. How you do pass around protocol references?
I'm looking to do something like what NSDistantObject uses to set a
protocol, (setProtocolForProxy:). That method takes a (Proxy *), and all
I've found is that in some headers they declare a class (@class Protocol).
So does this mean that sending @protocol(SomeProtocol) is just passing a
Class? I haven't been able to find anything else in the objc docs about
doing this.
Thanks much!
_______________________________________________
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:
This email sent to email@hidden