Re: method signature from a protocol?
Re: method signature from a protocol?
- Subject: Re: method signature from a protocol?
- From: petite_abeille <email@hidden>
- Date: Sat, 13 Jul 2002 16:39:54 +0200
On Saturday, July 13, 2002, at 04:32 , Ondra Cada wrote:
On Saturday, July 13, 2002, at 04:22 , petite_abeille wrote:
Try something like:...
Essentially, you say "dive into the runtime structures, and create
NSMethodSignatures yourself", right?
Yep.
Well I guess that would be possible, but definitely not easy.
Check
http://softrak.stepwise.com/display?pkg=644&os=10 to get you
started. Source code included.
Besides, I even can't find a way to create NSMethodSignatures myself?!?
NSMethodSignature.h offers just getters, no constructors/setters...
+ (id) signatureWithObjCTypes: (char*) objCTypes;
And yes, I do need NSMethodSignature (since it is mandatory for
forwarding,
and quite complicated dynamic forwarding is what I am implementing).
Have fun.
Cheers,
PA.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.