Re: Writing NSArray data to file, and compression

2009-10-11 Thread Dave Keck
I'm confused. NSDirectoryEnumerator doesn't conform to NSCoding, so you're not going to be able to archive it. And then, why would one want to archive an NSEnumerator in the first place? ... meanwhile, the code snippet you posted seems to be archiving an array. About all I can conjure is you're tr

Writing NSArray data to file, and compression

2009-10-11 Thread Tom Jones
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. [file