52inc/SwiftyGiphy

Not Setting my API Key

jartywizard opened this issue · 0 comments

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!