Writing NSArray data to file, and compression
Writing NSArray data to file, and compression
- Subject: Writing NSArray data to file, and compression
- From: Tom Jones <email@hidden>
- Date: Sun, 11 Oct 2009 16:48:34 -0700 (PDT)
Hello,
I'm looking to store NSDirectoryEnumerator data in a file, but it seems to create a really large file. How can I get the file size down?
I have tried both of these methods to save the and while the NSKeyedArchiver reduces the size by about 1MB to 9.3MB thats still seems really big.
[fileArray writeToFile:@"/Users/Shared/test" atomically:TRUE];
[NSKeyedArchiver archiveRootObject:fileArray toFile:@"/Users/Shared/test2"];
What other options do I have to write my NSDirectoryEnumerator data to a file with good compression?
Thanks,
tom
_______________________________________________
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