I' m calling doSaveItems: like
[NSThread detachNewThreadSelector:@selector(doSaveItems:) toTarget:self withObject:aObject];
doSaveItems: method has a code that references to one of my Outlets:
[uiProgressLedIdle setHidden:YES];
of course I'm setting an autorelease pool inside this method.
The problem is that [uiProgressLedIdle setHidden:YES];
has no effect on my GUI when I call this method using detachNewThreadSelector:toTarget:withObject: If I call it [self doSaveItems:aObject] everything is fine and my uiProgressLedIdle is Hidden!
Any suggestion of what I'm missing?
Thanks!