Re: Spinning the busy indicator
Re: Spinning the busy indicator
- Subject: Re: Spinning the busy indicator
- From: Uli Kusterer <email@hidden>
- Date: Fri, 01 May 2015 13:13:43 +0200
On 01 May 2015, at 04:15, Graham Cox <email@hidden> wrote:
> When the calculation for a tile is finished, it calls its delegate to tell it it has finished. The delegate is the original view. I use -performSelectorOnMainThread: to notify the delegate.
Idea: Have you tried using performSelectorOnMainThread:withObject:waitUntilDone:modes: and making sure to not just pass NSDefaultRunLoopMode but also NSEventTrackingRunLoopMode (and maybe even NSModalPanelRunLoopMode)?
The run loop that runs while the menus are pulled down is the tracking mode, so your messages may not fire because of that, and maybe you have an issue where, after a while, somehow they don’t fire at all even after tracking?
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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