Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated Init Syntax Still Present in Readme file #317

Closed
hbowie opened this issue Apr 16, 2024 · 3 comments · Fixed by #344
Closed

Deprecated Init Syntax Still Present in Readme file #317

hbowie opened this issue Apr 16, 2024 · 3 comments · Fixed by #344

Comments

@hbowie
Copy link

hbowie commented Apr 16, 2024

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
Copy link

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
Copy link

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

@seabjackson
Copy link

Yep, this is still happening and a tad confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants