• 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: Oh notification, where are you?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Oh notification, where are you?


  • Subject: Re: Oh notification, where are you?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 21 Sep 2009 10:35:37 -0700


On 2009 Sep 21, at 09:31, Michael Thon wrote:

In the sendNotification: method I send the notification to the other thread using performSelector: onThread: however sendNotification: is never even called. Either the notifications are not, in fact being sent to the main thread or I'm doing something else wrong. There is probably something basic about threads or notifications that I don't understand but I have run out of ideas about what to try next.

Sending a notification to the other thread may be complicated than that. Have you read this? ...


http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Notifications/Articles/Threading.html#/ /apple_ref/doc/uid/20001289

By the way, I have *not* read that, because whenever I've wanted to post a notification across threads, I'd look at how long that was, how much code there was, and decided to use a different approach :)

_______________________________________________

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


References: 
 >Oh notification, where are you? (From: Michael Thon <email@hidden>)

  • Prev by Date: Re: Class for external monitor?
  • Next by Date: Re: Printing to NSData
  • Previous by thread: Oh notification, where are you?
  • Next by thread: Re: Oh notification, where are you?
  • Index(es):
    • Date
    • Thread