Flags
Usage
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
Example
- Flags - Flags for iOS Rxswift, ReactorKit and IGListKit example
Requirements
Flags is written in Xcode 10, Swift 4.2, iOS 8.0 Required
π² Installation
Flags is available through Cocoapods or Carthage.
Cocoapods
pod "Flags"
Carthage
github "cruisediary/Flags" ~> 0.4.0
β€οΈ Contribution
Pull requests are always welcomed ππΌ
π¨βπ» Author
cruz, [email protected]
π‘ License
Flags is available under the MIT license. See the LICENSE file for more info.