Re: NSTextField not updated during large process
Re: NSTextField not updated during large process
- Subject: Re: NSTextField not updated during large process
- From: Koen van der Drift <email@hidden>
- Date: Sun, 14 Oct 2012 15:29:25 -0400
On Oct 14, 2012, at 3:04 PM, Mike Abdullah <email@hidden> wrote:
> How did you determine that -updateStatusWrapper: doesn't get called?
>
> (You could do away with that method entirely BTW, and just use setProgressStatus: as the selector)
>
> You're updating a property of self. How does that then update the text field?
Even if I use:
- (void)updateStatus: (NSString *)status
{
[statusTextField performSelectorOnMainThread:@selector( setStringValue:) withObject: status waitUntilDone: NO]; // or YES
}
the field does not get updated.
- Koen.
_______________________________________________
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