• 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: How does Cocoa implement delegate/callback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does Cocoa implement delegate/callback?


  • Subject: Re: How does Cocoa implement delegate/callback?
  • From: John Hörnkvist <email@hidden>
  • Date: Fri, 15 Nov 2002 12:23:50 +0100

On Thursday, November 14, 2002, at 06:41 PM, Bill Cheeseman wrote:

Telling the delegate to
performSelector:withObject:withObject: won't work because the callback
method I specify has too many parameters. And I can't figure out how to get
NSInvocation to work.

Is this the best approach? If so, I'll keep digging.


Why not just use objc_msgSend?

objc_msgSend(delegate, sel, arg1, arg2, ...)

Regards,
John Hornkvist
_______________________________________________
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: 
 >How does Cocoa implement delegate/callback? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Files and arrays
  • Next by Date: Re: Interface/usability question
  • Previous by thread: Re: How does Cocoa implement delegate/callback?
  • Next by thread: Re: How does Cocoa implement delegate/callback?
  • Index(es):
    • Date
    • Thread