• 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: NSRunLoop performSelector question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRunLoop performSelector question


  • Subject: Re: NSRunLoop performSelector question
  • From: "Shawn Erickson" <email@hidden>
  • Date: Thu, 11 May 2006 11:08:33 -0700

On 5/11/06, Craig Hopson <email@hidden> wrote:
Each of the various threads may finish their part
at a different time, so they signal back to the main thread via a
callback.

Not sure the reason for the issue your hitting off the top of my head but I generally use the following, it works perfectly for this type of thing...

[self performSelectorOnMainThread:@selector(myCleanup) withObject:nil
waitUntilDone:NO];

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSRunLoop performSelector question
      • From: Craig Hopson <email@hidden>
References: 
 >NSRunLoop performSelector question (From: Craig Hopson <email@hidden>)

  • Prev by Date: Re: Programmatically resizing an NSWindow based on window contents
  • Next by Date: Re: Vertically-expanding NSTextField
  • Previous by thread: NSRunLoop performSelector question
  • Next by thread: Re: NSRunLoop performSelector question
  • Index(es):
    • Date
    • Thread