• 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: trapping each iteration of run loop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trapping each iteration of run loop?


  • Subject: Re: trapping each iteration of run loop?
  • From: Abhinay Kartik Reddyreddy <email@hidden>
  • Date: Fri, 9 Jul 2010 16:38:58 -0400

I think  CFRunLoopObserver is what you are looking for.....

http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFRunLoopObserverRef/Reference/reference.html

-Kartik

On Jul 9, 2010, at 4:14 PM, Scott Ribe wrote:

> Is there any way to get some code to run after each event processed? (This is for debugging, not subverting the UI in some strange way.) I don't really want to just use NSTimer, because I don't want this code running continuously when the app is otherwise idle.
>
> --
> Scott Ribe
> email@hidden
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: trapping each iteration of run loop?
      • From: Scott Ribe <email@hidden>
References: 
 >trapping each iteration of run loop? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • Next by Date: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • Previous by thread: trapping each iteration of run loop?
  • Next by thread: Re: trapping each iteration of run loop?
  • Index(es):
    • Date
    • Thread