I followed instructions on SwiftJSON on how to loop through, why the syntax error?
I am using SwiftyJSON xcode6.3 branch.
I followed instructions on SwiftJSON on how to loop through, why the syntax error?
I am using SwiftyJSON xcode6.3 branch.
"features"
in your for-loop is not a type, use key: String
instead.
So your code becomes:
for (key: String, subJson: JSON) in json {