Latest 0.4.0
Homepage https://github.com/cruisediary/Flags
License MIT
Platforms ios 8.0
Authors

🇸🇪 Flag extension

Swift
Version
License
Platform
Carthage compatible
Codecov

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.

Latest podspec

{
    "name": "Flags",
    "version": "0.4.0",
    "summary": "Flags",
    "description": "Flag emoji, image extension",
    "homepage": "https://github.com/cruisediary/Flags",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "cruz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/cruisediary/Flags.git",
        "tag": "0.4.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Flags/Sources/**/*"
}

Pin It on Pinterest

Share This