Correctly Parsing JSON in Swift 3
First of all never load data synchronously from a remote URL, use always asynchronous methods like URLSession. ‘Any’ has no subscript members occurs because the compiler has no idea of what type the intermediate objects are (for example currently in [“currently”]![“temperature”]) and since you are using Foundation collection types like NSDictionary the compiler has no … Read more