• 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: Ben Einstein <email@hidden>
  • Date: Thu, 28 May 2009 12:46:33 -0400


On May 28, 2009, at 12:36 PM, Jeff Johnson wrote:

Three general possibilities:

(1) aControllerObject is nil.

Definitely not the problem because it works when calling performSelector: without the mainThread part.


(2) The main run loop is not running for some reason.

The main run loop is waiting to hear back from the completion of the worker thread, so this isn't the problem.


(3) The main run loop is not running in one of NSRunLoopCommonModes.

I would guess this is the most likely option as well, but NSRunLoop says mainRunLoop is kCFRunLoopDefaultMode, which is correct, right?


Still baffled...

Ben
_______________________________________________

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: Shawn Erickson <email@hidden>
    • Re: performSelectorOnMainThread problem
      • From: Corbin Dunn <email@hidden>
References: 
 >performSelectorOnMainThread problem (From: Ben Einstein <email@hidden>)
 >Re: performSelectorOnMainThread problem (From: Jeff Johnson <email@hidden>)

  • Prev by Date: Re: performSelectorOnMainThread problem
  • Next by Date: Re: Triggering change notifications when modifying custom object ivars in core data app
  • Previous by thread: Re: performSelectorOnMainThread problem
  • Next by thread: Re: performSelectorOnMainThread problem
  • Index(es):
    • Date
    • Thread