• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: performSelectorOnMainThread problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: performSelectorOnMainThread problem


  • Subject: Re: performSelectorOnMainThread problem
  • From: Nick Rogers <email@hidden>
  • Date: Thu, 13 Mar 2008 07:02:26 +0530

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@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:
40blizzard.com


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


  • Follow-Ups:
    • Re: performSelectorOnMainThread problem
      • From: Dave Hersey <email@hidden>
    • Re: performSelectorOnMainThread problem
      • From: John Stiles <email@hidden>
References: 
 >performSelectorOnMainThread problem (From: Nick Rogers <email@hidden>)
 >Re: performSelectorOnMainThread problem (From: John Stiles <email@hidden>)

  • Prev by Date: Re: How does -drawPageBorderWithSize: place pageHeader?
  • Next by Date: Re: What is the status on the New Cocoa 2.0 Books?
  • Previous by thread: Re: performSelectorOnMainThread problem
  • Next by thread: Re: performSelectorOnMainThread problem
  • Index(es):
    • Date
    • Thread