CFNotificationCenter ./. NSNotificationCenter
CFNotificationCenter ./. NSNotificationCenter
- Subject: CFNotificationCenter ./. NSNotificationCenter
- From: email@hidden (Hado Hein)
- Date: Sat, 27 Feb 2010 12:59:35 +0100
- Organization: handmade !
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden