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

Not Setting my API Key #16

Open
jartywizard opened this issue Jun 5, 2019 · 0 comments
Open

Not Setting my API Key #16

jartywizard opened this issue Jun 5, 2019 · 0 comments

Comments

@jartywizard
Copy link

In didFinishLaunchingWithOptions, i put my API Key:

SwiftyGiphyAPI.shared.apiKey = "Gv0dsQKgUCWJCZLEzTXmlD7EnVZpKjjZ"

but SwiftyGiphyAPI.share.apiKey prints out as an optional, which causes every function in SwiftyGiphyAPI.swift to read apiKey as nil. So, I keep getting the "You need to set your Giphy API key before using SwiftyGiphy." message.

I've tried optional unwrapping and force unwrapping to no avail. Any idea how to fix this?

Thanks in advance for your help!

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