CFNotificationCenter ./. NSNotificationCenter
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: handmade ! User-agent: MacSOUP/D-2.7 (Mac OS X version 10.4.9) Thanks for the help on CFSocket. Finally I left my code as it is - using socket. Now I'm trying to get the data I received out of my thread. I'm posting a CFNotification to the local center. CFNotificationCenterPostNotification( CFNotificationCenterGetLocalCenter(), CFSTR("news"), NULL, nfodict, false); But in some other thread I'm not receiving it. [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(NoteCallBack:) name:@"news" object:NULL]; In two threads (in one application) do I need to use the distibuted center? -- Hado Hein (KSK, DTHG), master craftsman of stagecrafts, Berlin followme office +49.30.91688488 www.beleuchtungsbildner.de - Stage Lighting Directing www.batchmaker.de - Stage Lighting Design, Control and Routing _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
maclists@batchmaker.de