有压缩NSData的实用方法吗? [英] Is there a practical way to compress NSData?
本文介绍了有压缩NSData的实用方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我没有看过关于这个主题的任何文档,但这并不意味着它不存在。
I haven't seen any documentation on the topic, but that doesn't mean it doesn't exist.
推荐答案
是的,使用zlib压缩数据。
Yes, compress the data with zlib.
@Brad Larson发布于此:点击这里并添加了代码。
@Brad Larson posted on this: see here and added the code as well.
有一个 CocoaPod 使用flyingdolphinstudio的 Objective-Zip 。
There is a CocoaPod which uses Objective-Zip by flyingdolphinstudio.
这篇关于有压缩NSData的实用方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文