• 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
NSScroller and Periodic Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScroller and Periodic Events


  • Subject: NSScroller and Periodic Events
  • From: Abhinay Kartik Reddyreddy <email@hidden>
  • Date: Wed, 10 Mar 2010 14:20:34 -0500

Hi all,

I have an application which uses periodic events to do some computation. The app works fine as long as i dont use a scrollbar. the moment i click a scrollbar it raises exception. The scroller is trying to start periodic events inside [NSScroller trackScrollButtons:]. since the app has already started periodic events, the scroller complains... Is there a workqround for this or i should refrain from using periodic events.??

In case i should not use periodic events, how is an idle time task handled in cocoa...?? In carbon i would say WaitNextEvent and if the return was null i would perform my idle time task..... Is there any design pattern for idle time tasks....??

Thanks,
Abhinay._______________________________________________

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: NSScroller and Periodic Events
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Proper control for a list of actions
  • Next by Date: Can you obtain the NSRuleEditor localized display?
  • Previous by thread: Re: Cocoa-dev Digest, Vol 7, Issue 287
  • Next by thread: Re: NSScroller and Periodic Events
  • Index(es):
    • Date
    • Thread