๐ธ๐ช Flag extension
let flag = Flag(countryCode: "SE")
let countryLabel = UILabel()
countryLabel.text = flag?.emoji // ๐ธ๐ช
let countryNameLabel = UILabel()
countryNameLabel.text = flag?.countryName // Sweden
let countryImage = UIImageView()
countryImage.image = flag?.image // ๐ธ๐ช to image
- Flags - Flags for iOS Rxswift, ReactorKit and IGListKit example
Flags is written in Xcode 10, Swift 4.2, iOS 8.0 Required
Flags is available through Cocoapods or Carthage.
pod "Flags"
github "cruisediary/Flags" ~> 0.4.0
Pull requests are always welcomed ๐๐ผ
cruz, cruzdiary@gmail.com
Flags is available under the MIT license. See the LICENSE file for more info.