• 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: NSConnection on same machine between different users (via fast user switching)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: key-value paths and NSArray
  • Next by Date: Re: [newbie] memory mgmt question
  • Previous by thread: key-value paths and NSArray
  • Next by thread: Unicode and XML parsing
  • Index(es):
    • Date
    • Thread