Thankyou both for your very helpful replies. The dispatch group approach sounds
like a nice one - especially using dispatch_group_notify, which I had somehow
overlooked. Thanks also Ken for your detailed reply to my ramblings, that was
very useful for getting my understanding straightened out.
J
On Jul 19, 2012, at 6:02 AM, Jonathan Taylor wrote:
> - User requests batch processing of data within a folder tree, which will
> result in between 0 and many separate movies being generated.
> - Application allocates a "progress" tracker, subclassed from
> NSWindowController, in control of a wi
Jonathan,
Could you not watch the serial queue you mentioned? When it is empty, release
the progress window.
- Erik
Sent from my iPad
On 2012-07-19, at 4:02 AM, Jonathan Taylor wrote:
> this nasty NSAutounbinder thingy then jumps in and re-retains it in some
> evil under-the-covers
this nasty NSAutounbinder thingy then jumps in and re-retains it in some
evil under-the-covers voodoo to do with avoiding retain cycles (as I
understand it). Unfortunately the balancing autorelease only occurs 16
seconds later when I move the mouse! While not catastrophic thi
On 2012 Jul 18, at 13:28, TAYLOR J.M. wrote:
> it's the fact that the progress bar is just sitting there until I move the
> mouse that alarms me.
I missed that part.
So, this progress bar is in a sheet. Is the sheet done? If so, -endSheet:.
If not, send -setHidden:YES to the progress bar.
On Jul 18, 2012, at 3:28 PM, TAYLOR J.M. wrote:
>>> this nasty NSAutounbinder thingy then jumps in and re-retains it in some
>>> evil under-the-covers voodoo to do with avoiding retain cycles (as I
>>> understand it). Unfortunately the balancing autorelease only occurs 16
>>> seconds later when
> > this nasty NSAutounbinder thingy then jumps in and re-retains it in some
> > evil under-the-covers voodoo to do with avoiding retain cycles (as I
> > understand it). Unfortunately the balancing autorelease only occurs 16
> > seconds later when I move the mouse! While not catastrophic this is
On 2012 Jul 18, at 09:45, Jonathan Taylor wrote:
> this nasty NSAutounbinder thingy then jumps in and re-retains it in some evil
> under-the-covers voodoo to do with avoiding retain cycles (as I understand
> it). Unfortunately the balancing autorelease only occurs 16 seconds later
> when I mov