Re: NSNotifications & background apps?
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