Thanks to all those who responded. I managed to implement what you
suggested. Previously I did had some issues, but managed to resolve
them. One mistake I made before was doing the main work in the main
thread via performSelectorOnMainThread. I now separated the UI updated
and the long task
On Jun 4, 2008, at 4:10 PM, Alexander Hartner wrote:
1.) I gathered i have to create a new NSAutoReleasePool in my
"threaded" method. Is this correct ?
Yes, every thread needs a separate AutoReleasePool. I don't know from
the top of my head if NSThread creates one for you (I usually use
p
On Jun 4, 2008, at 5:10 PM, Alexander Hartner wrote:
I have an application which refreshes a NSTable with data from a
network server. The refresh can take several seconds, and might even
fail when the server is not accessible. During the refresh process I
would like to display a sheet with
Hi Alex,
On Thu, Jun 5, 2008 at 12:10 AM, Alexander Hartner <[EMAIL PROTECTED]> wrote:
> 1.) I gathered i have to create a new NSAutoReleasePool in my "threaded"
> method. Is this correct ?
Yes.
> 2.) During execution of this I am updating the UI components from a thread
> which is not the main
I have an application which refreshes a NSTable with data from a
network server. The refresh can take several seconds, and might even
fail when the server is not accessible. During the refresh process I
would like to display a sheet with a spinning progress indicator.
Everything worked sort