Re: NSConnection on same machine between different users (via fast user switching)
Re: NSConnection on same machine between different users (via fast user switching)
- Subject: Re: NSConnection on same machine between different users (via fast user switching)
- From: Ryan McGann <email@hidden>
- Date: Sat, 20 Dec 2003 22:28:04 -0800
NSDistributedNotificationCenter notifications are only slightly
better-
sometimes they work and sometimes they don't.
Distributed notifications don't normally cross the boundary either.
Having them do so causes things to get confused, often.
But there is CFNotificationCenter, on which (I'm assuming)
NSDistributedNotificationCenter is built. CFNotificationCenter has a
new API in 10.3 that can post notifications across Mach sessions, which
means it will get posted to all applications regardless of whether they
were started up as a StartupItem, or by a different user using fast
user switching. The caveat is that because it is a CF API, you can only
use CF types in your userInfo like NSArray or NSDictionary.
Ryan McGann
email@hidden
I'd give my right arm to be ambidextrous.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.