unzipping a file in cocoa

后端 未结 7 1135
长发绾君心
长发绾君心 2020-12-18 01:59

I have a zipped file, which i want to extract the contents of it. What is the exact procedure that i should do to achieve it. Is there any framework to unzip the files in co

相关标签:
7条回答
  • 2020-12-18 02:35

    If you just want to unzip the file, I would recommend using NSTask to call unzip(1). It's probably smart to copy the file to a directory you control -- probably in /tmp -- before unzipping.

    0 讨论(0)
提交回复
热议问题