comparison GeoQuiz/Models/CountryPopulation.swift @ 0:413e2d21333e

first commit
author Dennis C. M. <dennis@denniscm.com>
date Tue, 20 Sep 2022 08:13:26 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:413e2d21333e
1 //
2 // CountryPopulation.swift
3 // GeoQuiz
4 //
5 // Created by Dennis Concepción Martín on 7/9/22.
6 //
7
8 import Foundation
9
10 struct CountryPopulation: Codable {
11 let countries: [String: Country]
12
13 struct Country: Codable {
14 let population: [Population]
15 }
16
17 struct Population: Codable {
18 let year: Int
19 let value: Int
20 }
21 }