• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: method signature from a protocol?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: method signature from a protocol? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: method signature from a protocol?
  • Next by Date: Re: Round NSButtonCell
  • Previous by thread: Re: method signature from a protocol?
  • Next by thread: Re: Round NSButtonCell
  • Index(es):
    • Date
    • Thread