• 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
redirecting delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

redirecting delegates


  • Subject: redirecting delegates
  • From: Alexander Cohen <email@hidden>
  • Date: Mon, 10 Oct 2005 14:51:31 -0400

i have setup a default category on NSObject that pretty much implements all delegates that are possible to be implemented in Cocoa and have them pretty much doing nothing. I would like to be able to intercept calls to those delegates and redirect them to different function pointers depending on what selector is actually being performed.

What functions should i be looking at replacing to actually be able to do this? Oh, and i need to do this without subclassing anything. I hope to not have to put a lot of code into each function i implemented in the category. Im hoping to write 1 function that actually takes the calls, looks at them and redirects them if needed.

Any info appreciated.

thanks

Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: sychronizeFile Problem
  • Next by Date: Re: sychronizeFile Problem
  • Previous by thread: Re: How to make cocoa apps read environment variables set in /etc/profile or /etc/bashrc?
  • Next by thread: [Meet] Cocoaheads Los Angeles organizational meeting
  • Index(es):
    • Date
    • Thread