Hi there. I am facing problem in extracting a zip file in my mac os appliaction project. I have downloaded the zip file to the disk from server API.
let destinationDir = try! FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: true)
let destination = destinationDir.appendingPathComponent("SomeFileName.zip")
try data!.write(to: destination)Now i want to extract that file there and want to read the contains including directories and files. Is there any third paarty library available in swift for this ?
I also want to create a zip file too so that i will upload that to server after making changes to it.