Created
May 5, 2021 16:50
-
-
Save thatswiftguy/a356759b6d608147974b23b2e43c7041 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct WeatherData : Codable { | |
let name : String | |
let main : Main | |
let weather : [Weather] | |
} | |
struct Main : Codable { | |
let temp : Double | |
} | |
struct Weather : Codable { | |
let description : String | |
let id : Int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment