Flags

Flag extension make flag emoji, image

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

Swift

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"
Ruby

Carthage

github "cruisediary/Flags" ~> 0.4.0

GitHub

πŸ‡ΈπŸ‡ͺ Flag extension make flag emoji, image β€” Read More

Latest commit to the master branch on 11-13-2022
Download as zip