NSScroller and Periodic Events
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