• 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: NSKeyedArchiver XML output?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSKeyedArchiver XML output?


  • Subject: Re: NSKeyedArchiver XML output?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Mon, 8 Dec 2008 04:10:09 -0600

On Mon, Dec 8, 2008 at 3:44 AM, Devraj Mukherjee <email@hidden> wrote:
> I am trying to get an sample project that demos NSKeyedArchiver to
> write in the XML format,
>
> All I can see is a call to a message
> [NSKeyedArchiver archiveRootObject: rootObject toFile: path];
>
> how do I instruct NSKeyedArchiver to write in its XML format?

alloc and use initForWritingWithMutableData: (take a look at the doc
for this method for instructions). Before encoding anything you can
call setOutputFormat: and get XML put into your mutable data instance.
_______________________________________________

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: 
 >NSKeyedArchiver XML output? (From: "Devraj Mukherjee" <email@hidden>)

  • Prev by Date: Re: NSKeyedArchiver XML output?
  • Next by Date: Re: NSKeyedArchiver XML output?
  • Previous by thread: Re: NSKeyedArchiver XML output?
  • Next by thread: Monitor Magic packet(wake on lan packet )
  • Index(es):
    • Date
    • Thread