Re: performSelectorOnMainThread problem
Re: performSelectorOnMainThread problem
- Subject: Re: performSelectorOnMainThread problem
- From: John Stiles <email@hidden>
- Date: Wed, 12 Mar 2008 18:30:20 -0700
If -updateProgress is taking "data" as an argument, then you probably want
@selector(updateProgress:)
Note the colon.
Nick Rogers wrote:
Hi,
In my secondary thread I'm doing:
[self performSelectorOnMainThread:@selector(updateProgress)
withObject:data waitUntilDone:YES];
with the error that self does not recognize the selector updateProgress.
I have imported the main AppController.h into this secondary class
file. still the problem.
Regards,
Nick
_______________________________________________
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
_______________________________________________
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