Skip navigation.
 
mlRe: performSelectorOnMainThread problem
FROM : John Stiles
DATE : Thu Mar 13 02:44:39 2008

Maybe you should show us the definition of -updateProgress and tell us
what you mean by "didn't work." For instance, are any errors logged to
the Run Log?


Nick Rogers wrote:
> Yes I was using updateProgress with the colon earlier, but still
> didn't worked.
>
> Wishes,
> Nick
>
> On 13-Mar-08, at 7:00 AM, John Stiles wrote:
>

>> 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_removed>)
>>>
>>> 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:
>>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>>
>>> This email sent to <email_removed>

>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlperformSelectorOnMainThread problem Nick Rogers Mar 13, 02:27
mlRe: performSelectorOnMainThread problem John Stiles Mar 13, 02:30
mlRe: performSelectorOnMainThread problem Nick Rogers Mar 13, 02:32
mlRe: performSelectorOnMainThread problem John Stiles Mar 13, 02:44
mlRe: performSelectorOnMainThread problem Nick Rogers Mar 13, 03:00
mlRe: performSelectorOnMainThread problem Dave Hersey Mar 13, 03:03
mlRe: performSelectorOnMainThread problem Thomas Engelmeier Mar 13, 10:16