I am trying to zip and unzip some data with password protection in swift. I found this QUESTION, but I'm unaware about Obj-C. I am seeking a help to zip some data with password protection in swift.
You can use any Objective-C zipping class (such as ZipArchive). When adding it to your Swift project, Xcode will ask whether it shall set up a bridging header for you (in case you don't have one already). Afterwards just add an import statement for the zipping class' header file in the bridging header. Compile once, and you should be able to call that Objective-C class from your Swift code.