weichsel / ZIPFoundation

Effortless ZIP Handling in Swift
MIT License
2.31k stars 255 forks source link

Deprecated Init Syntax Still Present in Readme file #317

Open hbowie opened 4 months ago

hbowie commented 4 months ago

I have an app called Notenik that makes use of ZIPFoundation. I've noticed lately that I get a build issue for my app saying that my usage of 'init(url:accessMode:preferredEncoding:)' is deprecated, and advising me to use the throwing initializer instead. Yet the section of the GitHub readme file talking about Creating Archives seems to still use the same syntax that I'm using, so I'm not entirely sure what I'm supposed to be doing differently.

Partwood commented 3 months ago

Was just going to post this issue myself, just added zip foundation to a swift project via swiftpm, used the example and immediately got the deprecation notice. Makes it hard to get started.

skythomp16 commented 1 day ago

Came here to post the same thing. Does anyone have an updated sample of compressing files into zip format??