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

About Pictures #1

Closed
3rsin3rgul opened this issue Jan 31, 2019 · 0 comments
Closed

About Pictures #1

3rsin3rgul opened this issue Jan 31, 2019 · 0 comments

Comments

@3rsin3rgul
Copy link

Hello,
I couldn't fetch the photos. Is it possible to help me about this?
let apicalypse = APICalypse()
.fields(fields: "*")
.limit(value: 50)
.sort(field: "release_dates.date", order: .DESCENDING)
.where(query: "themes != 42")

    wrapper.games(apiCalypse: apicalypse, result: { games in
        for game in games {
            self.games.append(game)
            print(game.artworks.map({$0.url}))
            if game.hasCover {
                print("GAMEURL \(game.cover)")
            }
        }
        
        DispatchQueue.main.async {
            self.tableView.reloadData()
        }
    }) { error in
        print(error.localizedDescription as Any)
    }
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

2 participants