• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: encoding vended objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >encoding vended objects (From: "Brian Chin" <email@hidden>)

  • Prev by Date: Re: NSXMLDocument freezes UI
  • Next by Date: Re: How to create Hypertext in cocoa applications?
  • Previous by thread: encoding vended objects
  • Next by thread: Re: encoding vended objects
  • Index(es):
    • Date
    • Thread