• 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
performSelectorOnMainThread problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performSelectorOnMainThread problem


  • Subject: performSelectorOnMainThread problem
  • From: Ben Einstein <email@hidden>
  • Date: Thu, 28 May 2009 12:11:42 -0400

Does anyone know of any issue that would cause performSelectorOnMainThread to not actually perform the selector but not report any kind of error? I use threads very often and have never had a problem like this, but when I call:

[aControllerObject performSelectorOnMainThread:@selector(doSomething:) withObject:anObject waitUntilDone:NO];

absolutely NOTHING happens. No log messages, doesn't pause on break points, and certainly no exceptions. But if I do this:

[aControllerObject performSelector:@selector(doSomething:) withObject:anObject];

it works every time. I'm completely baffled. Has anyone seen anything like this before?

Thanks,
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: Erg Consultant <email@hidden>
    • Re: performSelectorOnMainThread problem
      • From: Jeff Johnson <email@hidden>
    • Re: performSelectorOnMainThread problem
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 6, Issue 794
  • Next by Date: Creating strings in a loop - Efficiency Question
  • Previous by thread: Spotlight importer default plugins?
  • Next by thread: Re: performSelectorOnMainThread problem
  • Index(es):
    • Date
    • Thread