且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Objective C中压缩文件夹

更新时间:2023-09-26 09:18:28

您可以使用NSTask运行命令行ditto程序.确保查看ditto手册页中正确的标志组合,以获取与Finder兼容的拉链.

You could use NSTask to run the command line ditto program. Be sure to look at the ditto man page for the right combination of flags to get Finder-compatible zipping.