Progress Indicator Behaviour
Progress Indicator Behaviour
- Subject: Progress Indicator Behaviour
- From: Si Baker <email@hidden>
- Date: Mon, 14 May 2007 23:29:13 +0100
Dear Developer's,
I have a working programme that displays a large amount of vector map
data on to a CustomView from a NSView - drawrect method. I have
played with various options to include a spinning disk progress
indicator in the view's host window frame and also in a subview to
the Custom view (although not exhaustively). I have also "hinted" for
a new thread for the progress indicator (and confirmed the additional
thread in Activity Monitor) but none appear to work as expected. By
experimenting I can now demonstrate a spinning progress indicator
that actually stops (with no stop message!) whilst the view is
updated through the NSView -drawrect method. I presume that this is
due to the automatic "lock focus methods" within NSView -drawrect,
but was surprised that these do not allow for another thread to spin
the disc. Should I try harder for a progress indicator within a
subview (that may come within a lock focus method or am I missing
something or simply wasting my time? I really thought this would be a
lot easier to implement!
Thanks for any thoughts
Simon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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