Josh
Josh

Reputation: 6373

How to setup SwiftyJSON on my Swift XCode App?

I am want to handle JSON on my Swift XCode app, I am stuck trying to mae SwiftyJSON work the first time. So far I have done what appears in this post, and I can access SwiftyJSON function calls from my code. However, the code inside SwiftyJSON.swift file that I dragged into my project is now crawling with "Replace as with as!" warnings. How can I get rid of those warnings? What could I be doing wrong?

Upvotes: 1

Views: 412

Answers (1)

Nurdin
Nurdin

Reputation: 23883

You need to Replace as with as! since you updated your xcode to 6.3.1 and swift 1.2. You can use automatic assistant to fix the issue.

Upvotes: 3

Related Questions