2019-12-09a few seconds read (About 56 words)How to show flag emoji from country code in SwiftIssue #532 12345678func flag(from country: String) -> String { let base : UInt32 = 127397 var s = "" for v in country.uppercased().unicodeScalars { s.unicodeScalars.append(UnicodeScalar(base + v.value)!) } return s} Read moree Swift turn a country code into a emoji flag via unicode https://github.com/onmyway133/Smile #swift