is there a way to obtain CountryCode from CurrencyCode? Most resources here and here demonstrates getting currencyCode from countryCode, or obtained the countryCode by using currentLocale instead.
My code so far:
let locale = NSLocale(localeIdentifier: "CNY")
print(locale.displayName(forKey: NSLocale.Key.countryCode, value: "CNY"))
Note that I am not using currentLocale to obtain the countryCodes as the currencies are location independent. Thanks.