• 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: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)


  • Subject: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
  • From: Kevin Ballard <email@hidden>
  • Date: Tue, 23 Mar 2004 11:14:47 -0500

All I'm trying to do is display a window when the notification is posted. I guess displaying the window from the thread is causing that drawing glitch. I suppose I'll have to use -performSelectorOnMainThread:withObject:waitUntilDone: to post the notification in the main thread.

Thanks,
Kevin

On Mar 23, 2004, at 11:01 AM, Alastair Houghton wrote:

AFAIK notifications are processed in the thread that posted them, so they aren't suitable for inter-thread communication. That's probably your problem.

You probably want -performSelectorOnMainThread:withObject:waitUntilDone:, although you can use Distributed Objects or other techniques e.g. if you need to run on OS X versions earlier than Jaguar.

--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
_______________________________________________
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.


  • Follow-Ups:
    • Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
      • From: Dave Thorup <email@hidden>
References: 
 >[ANN] New UKUpdateChecker (NiftyFeatures 0.3) (From: "M. Uli Kusterer" <email@hidden>)
 >Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3) (From: Kevin Ballard <email@hidden>)
 >Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3) (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
  • Next by Date: Authentication/Authorization
  • Previous by thread: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
  • Next by thread: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
  • Index(es):
    • Date
    • Thread