• 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: Simple example of threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple example of threading


  • Subject: Re: Simple example of threading
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 11 Feb 2004 16:20:35 -0800

On Feb 10, 2004, at 8:32 PM, Steve Palmer wrote:

As part of building a progress dialog, I need to kick off a thread in
the same class and have that thread communicate back to the class to
update the UI.

Why not just call [self performSelectorOnMainThread:withObject:waitUntilDone:]? Seems that would be the easiest way of sending messages back to the main thread, unless I'm missing something here...

Nick Zitzmann
<http://seiryu.home.comcast.net/>
<http://www.freshlysqueezedsoftware.com/>
S/MIME signature available upon request

UNIX: Where /sbin/init is Job #1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Simple example of threading (From: Steve Palmer <email@hidden>)

  • Prev by Date: Re: Cocoa Headers Inconsistent With Online Docs
  • Next by Date: Re: Cocoa Headers Inconsistent With Online Docs
  • Previous by thread: Re: Simple example of threading
  • Next by thread: Cocoa Headers Inconsistent With Online Docs
  • Index(es):
    • Date
    • Thread