NSArchiver and MySQL
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