• 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: NSNotifications & background apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNotifications & background apps?


  • Subject: Re: NSNotifications & background apps?
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 14 Jun 2008 20:56:34 -0700


On 14 Jun '08, at 12:52 PM, dream cat7 wrote:

was also wondering if anyone ever think to encrypt their NSNotification data?

If you start getting to that point, you should think about using a real IPC mechanism instead. NSDistributedNotifications are very easy to use, but they're intended as one-to-many notifications, not for two specific processes to communicate. I mean, they work for that, but they're very limited in what you can send, and as you point out, there's no privacy.


You can send point-to-point messages between two processes using direct messages between Mach ports. I believe the huge "daemons and agents" technote has pointers on doing this, and there are also some sample apps demonstrating Mach messaging.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: NSNotifications & background apps?
      • From: "Michael Ash" <email@hidden>
References: 
 >NSNotifications & background apps? (From: dream cat7 <email@hidden>)

  • Prev by Date: Re: NSURLCache - how?
  • Next by Date: Re: How to create Custom Knobs with Sprite animation ?
  • Previous by thread: Re: NSNotifications & background apps?
  • Next by thread: Re: NSNotifications & background apps?
  • Index(es):
    • Date
    • Thread