Skip to content

Instantly share code, notes, and snippets.

@MarcJacques
Created September 11, 2019 15:29
Show Gist options
  • Save MarcJacques/03b8c5a932f071fccc62a453bdc10c20 to your computer and use it in GitHub Desktop.
Save MarcJacques/03b8c5a932f071fccc62a453bdc10c20 to your computer and use it in GitHub Desktop.

Revisions

  1. MarcJacques created this gist Sep 11, 2019.
    20 changes: 20 additions & 0 deletions CodeChallenge5
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    import UIKit

    struct Country {
    let name: String
    let capital: String
    let altSpellings:[String]
    let population: Int
    let timeZones: [String]
    let currencies: [CurrencySymbol]
    let languages: [Name]
    let flag: URL
    }

    struct CurrencySymbol {
    let symbol: String
    }

    struct Name {
    let name: String
    }