CountryKit

final public class CountryKit

CountryKit**

  • CountryKit

    Returns all the countries.

    Declaration

    Swift

    public let countries: [Country]
  • CountryKit

    Initializer.

    Declaration

    Swift

    public init()
  • CountryKit

    Returns a country (if any) that matches a given ìsoCode.

    Declaration

    Swift

    public func searchByIsoCode(_ isoCode: String) -> Country?
  • CountryKit

    Returns the current user’s country.

    Declaration

    Swift

    public var current: Country? { get }
  • CountryKit

    Returns an iterator over the list of countries.

    Declaration

    Swift

    public func makeIterator() -> AnyIterator<Country>