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

Can't complete in workspace #26

Open
gybcb opened this issue Mar 1, 2017 · 0 comments
Open

Can't complete in workspace #26

gybcb opened this issue Mar 1, 2017 · 0 comments

Comments

@gybcb
Copy link

gybcb commented Mar 1, 2017

I import ZipZap in my workspace
If i type
entry.
can't complete.

import Foundation
import ZipZap

let filename = "test.zip"
if (FileManager.default.fileExists(atPath: filename)) {

    var url = URL(fileURLWithPath: filename)

    do
    {
        var archive = try ZZArchive(url: url)
        for entry in archive.entries
        {
            let fileName = entry.fileName
            entry. // error here, Can't complete
            print(fileName)
        }
    }
    catch
    {
        debugPrint("Error")
    }
}

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

No branches or pull requests

1 participant