iOS build设置属性列表输出编码

标签 ios

什么是属性列表输出编码?如果设置为二进制,它是否真的压缩了 plist 文件?

最佳答案

如果设置为 binary,Xcode 似乎会接收任何 XML 属性列表并将它们作为二进制属性列表保存到应用程序包中。二进制属性列表的文件格式比 XML 属性列表更紧凑,但我不知道您是否称它为压缩的。

来自Property List Programming Guide :

XML property lists are more portable than the binary alternative and can be manually edited, but binary property lists are much more compact; as a result, they require less memory and can be read and written much faster than XML property lists. In general, if your property list is relatively small, the benefits of XML property lists outweigh the I/O speed and compactness that comes with binary property lists.

关于iOS build设置属性列表输出编码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5624158/

相关文章:

ios - 数据未通过 Segue 传递

ios - 如何识别移动光标上的链接属性范围

ios facebook 用户信息

ios - 试图做一个复合谓词。不工作。

ios - 异步多个项目

ios - 如何为 UIWebView 制作一个点赞按钮?

ios - 如何更改缩短的后退按钮标题?

ios - FMResultSet 中的内存泄漏 - FMDB

java - 在 jasypt 中使用 BasicTextEncryptor 进行 iOS 和 Java 加密

ios - NSNumber 实例不会保留值