Re: NSConnections: Can they retrieve objects?
Re: NSConnections: Can they retrieve objects?
- Subject: Re: NSConnections: Can they retrieve objects?
- From: Quentin Mathé <email@hidden>
- Date: Thu, 9 Jan 2003 17:06:39 +0100
Le mercredi, 8 jan 2003, ` 05:15 Europe/Paris, Matt Handley a icrit :
I was wondering if a NSConnection can retrieve an object from a remote
computer. I wrote two applications on the same computer and ran them,
and the code worked perfectly, but with two computers, would the data
in, say, an NSData object be copied over through the NSConnectionr?
It's possible with the keyword bycopy :
you call :
[proxyObject data];
you implement your method in your proxyClass like that :
- (bycopy NSData *)data {
return hereIsData;
}
Nb : The object you copy must implement the NSCoding protocol.
You can find more on this topic at the following url :
file:///Developer/Documentation/Cocoa/ObjectiveC/
4objc_runtime_overview/index.html
--
Quentin Mathi
email@hidden
_______________________________________________
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.