Re: Oh notification, where are you?
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