Re: encoding vended objects
Re: encoding vended objects
- Subject: Re: encoding vended objects
- From: "Adam R. Maxwell" <email@hidden>
- Date: Tue, 28 Aug 2007 21:04:44 -0700
On Aug 28, 2007, at 20:47, Brian Chin wrote:
I'm using cocoa distributed objects to send a custom object to a
client app.
The custom class is simple. IIt contains two NSNumber fields as well
as a
NSString. I've added the following methods to encode this custom
object:
[...]
This seems simple enough. However, my app crashes when trying to
send this
object through a NSPortCoder.
You're using keyed coding, but NSPortCoder doesn't support that;
you'll need to check for it in your encode/decode methods. I've
posted a workaround for this previously, so searching the list
archives ought to find that or other hints.
--
Adam
_______________________________________________
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