Re: Distributed Objects or NSFileHandle?
Re: Distributed Objects or NSFileHandle?
- Subject: Re: Distributed Objects or NSFileHandle?
- From: "Adam R. Maxwell" <email@hidden>
- Date: Thu, 21 Jun 2007 17:41:02 -0700
On Jun 21, 2007, at 11:30, Kam Dahlin wrote:
[...snip question of DO vs NSFileHandle...]
I haven't seen any example code out there using DO like this, so I
am guessing that NSFileHandles are the way to go, but DO is really
powerful and it would be great if I could share my data to the
clients using this system. I have looked at the PictureSharing/
PictureSharingBrowser examples and Apple doesn't use DO to send the
picture data between the clients - they use NSFileHandles.
As Uli indicated, some of the motivation for using NSFileHandle is
interoperability with other platforms. If that isn't a concern, I
think DO has some definite advantages, and the remote messaging is
pretty cool. We implemented file sharing in BibDesk using DO, with
Bonjour to advertise the service. There are some aspects of our
design that could definitely be improved, but the code is all
available under a BSD license; I can tell you what classes to look at
if you're interested.
regards,
Adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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