Search code examples
iosnsdatacompression

Is there a practical way to compress NSData?


I haven't seen any documentation on the topic, but that doesn't mean it doesn't exist.


Solution

  • Yes, compress the data with zlib.

    @Brad Larson posted on this: see here and added the code as well.

    There is a CocoaPod which uses Objective-Zip by flyingdolphinstudio.