Skip to content

InstaRobot/iTunesCountries

Repository files navigation

Countries

Installation

Swift Package Manager

  1. File > Swift Packages > Add Package Dependency
  2. Add https://github.com/InstaRobot/iTunesCountries.git

OR

Update dependencies in Package.swift

dependencies: [
    .package(url: "https://github.com/InstaRobot/iTunesCountries.git", .upToNextMajor(from: "1.0.0"))
]

Usage

import iTunesCountries

ScrollView {
    ForEach(0 ..< Country.allCases.count, id: \.self) { index in
        let country = Country.allCases[index]
        Text(country.name)
        Text(country.flag)
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages