πΈπͺ Flag extension make flag emoji, image
πΈπͺ 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 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, [email protected]
Flags is available under the MIT license. See the LICENSE file for more info.