Re: NSTextField not updated during large process
Re: NSTextField not updated during large process
- Subject: Re: NSTextField not updated during large process
- From: Mike Abdullah <email@hidden>
- Date: Sun, 14 Oct 2012 21:47:19 +0100
On 14 Oct 2012, at 20:29, Koen van der Drift <email@hidden> wrote:
>
> 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.
Presumably statisTextField is an outlet? Sure you've got it hooked up right?
_______________________________________________
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