• 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: Intercepting messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercepting messages


  • Subject: Re: Intercepting messages
  • From: Rob In der Maur <email@hidden>
  • Date: Tue, 21 Mar 2006 11:31:24 +0100

Thanks Joar, but is this the only viable alternative?

cheers,
Rob

On Mar 21, 2006, at 9:18 , j o a r wrote:


On 21 mar 2006, at 09.05, Rob In der Maur wrote:

Is there not an easy way of 'listening to messages' which are sent within an application, intercept these and do something alternative then the original application was supposed to do?

You could subclass the objects you're monitoring, and use "poseAsClass:". This would mostly be useful for learning how something works though - ie. not very likely something that could be used in a product that you release to others. It's too "hacky".


j o a r



_______________________________________________ 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
  • Follow-Ups:
    • Re: Intercepting messages
      • From: Ondra Cada <email@hidden>
References: 
 >Intercepting messages (From: Rob In der Maur <email@hidden>)
 >Re: Intercepting messages (From: j o a r <email@hidden>)

  • Prev by Date: Exception while migrating CoreData store
  • Next by Date: Re: C Strings
  • Previous by thread: Re: Intercepting messages
  • Next by thread: Re: Intercepting messages
  • Index(es):
    • Date
    • Thread