• 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
CF/NSNotifications on the same thread not working.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF/NSNotifications on the same thread not working.


  • Subject: CF/NSNotifications on the same thread not working.
  • From: Robert Monaghan <email@hidden>
  • Date: Mon, 1 Jun 2009 17:10:22 -0700

Hi Everyone,

I am trying to post a notification (a CFNotificationCenterPostNotification) on a thread from a CFNotificationCenterGetLocalCenter, to a NSNotificationCenter defaultCenter. All on the same thread, spun off from my main thread. The observer that I am adding, never gets called. If I move all of this to my main thread, everything works as expected.

I am stumped. Is there something special that I have to do, to get a notification to work entirely on the same thread?

bob.

_______________________________________________

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


  • Prev by Date: Referring to file by Alias ^or^ path
  • Next by Date: Re: Referring to file by Alias ^or^ path
  • Previous by thread: Re: Referring to file by Alias ^or^ path
  • Next by thread: Thin navigation & tool bars in landscape
  • Index(es):
    • Date
    • Thread