• 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
NSArchiver and MySQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArchiver and MySQL


  • Subject: NSArchiver and MySQL
  • From: Ben Einstein <email@hidden>
  • Date: Mon, 3 Mar 2008 13:08:35 -0500

What's the best way to archive/unarchive an NSData object created from NSArchiver to a MySQL (or any other) database?

I was thinking:
[archivedData description] for archiving and
[archivedString dataUsingEncoding:someEncoding] for unarchiving. Not sure if that will work.


Maybe [NSString stringWithCharacters:[archivedData byes] length: [archivedData length]] would be better? Am I heading down a completely flawed path? Speed issues?

Any help would be greatly appreciated.
_______________________________________________

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


  • Follow-Ups:
    • Re: NSArchiver and MySQL
      • From: Mike Abdullah <email@hidden>
References: 
 >How can I fix an error in a XIB file? (From: Brian Krisler <email@hidden>)
 >Re: How can I fix an error in a XIB file? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Relaunching an application
  • Next by Date: Re: Using NSPredicate to parse strings
  • Previous by thread: Re: How can I fix an error in a XIB file?
  • Next by thread: Re: NSArchiver and MySQL
  • Index(es):
    • Date
    • Thread