• 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: custom object archiving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom object archiving


  • Subject: Re: custom object archiving
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 30 Sep 2001 02:38:02 -0700

On Saturday, September 29, 2001, at 10:50 PM, Dustin Mierau wrote:

I am porting some C++ code for a protocol that uses objects sent over tcp/ip. I have the basic classes ported to Objective-C, and now I am ready to serialize the objects to be sent over the network. I noticed the NSCoding protocol and NSArchiver might be useful, but I don't see any way of customizing the data produced so I can make it conform to this 3rd party tcp/ip based protocol. Is there a way for me to do this?

There's an extremely easy way: wrap it in an NSData object.

-jcr

"I fear all we have done is to awaken a sleeping giant and fill him with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.


References: 
 >custom object archiving (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: Exiting NSThread
  • Next by Date: Re: Text over graphics
  • Previous by thread: custom object archiving
  • Next by thread: NSDateFormatter: How do I use a non locale %p ?
  • Index(es):
    • Date
    • Thread