Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about NSDistributedNotificationCenter



On Monday, July 30, 2001, at 02:50 , Lloyd Sargent wrote:

One more question, how does one deal with the very REAL possibility of "notification pollution"? Is there a normal method to generate unique strings?

Yes, prepend the application's name (like NS* in the Cocoa API)

On Sunday, July 29, 2001, at 07:45 PM, Lloyd Sargent wrote:

Got a couple of quick questions about NSDistributedNotificationCenter:

1. Is this the "normal" method of passing simple "messages" between threads?

No.

2. Are the notifications machine local? i.e. Is there no ability to have other machines listen for notifications? That is what I *think* I understand from the documentation.

Use NSConnection for talking between computers.

3. Any caveats that I should know before I start entrenching my code with this object?

Try to send NSStrings, NSDictionaries and NSArrays only.


andy
--
Discussion forthcoming.


References: 
 >Re: Questions about NSDistributedNotificationCenter (From: Lloyd Sargent <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.