All Projects → madebybowtie → Flagkit

madebybowtie / Flagkit

Licence: mit
Beautiful flag icons for usage in apps and on the web.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Flagkit

react-flagkit
🇺🇦 React wrapper for FlagKit Flag Icons
Stars: ✭ 21 (-99.25%)
Mutual labels:  icons, flags, flag-icons
Css Flags
A collection of pure CSS flags, all single divs.
Stars: ✭ 90 (-96.79%)
Mutual labels:  flags, icons
Flagpack Core
Flagpack contains 260+ easily implementable flag icons to use in your design or code project.
Stars: ✭ 127 (-95.47%)
Mutual labels:  flags, icons
Famfamfam Flags Wpf
famfamfam flag icons for WPF
Stars: ✭ 17 (-99.39%)
Mutual labels:  flags, icons
Circle Flags
A collection of 300+ minimal circular SVG country flags
Stars: ✭ 139 (-95.04%)
Mutual labels:  flags, icons
React Kawaii
Cute SVG React Components
Stars: ✭ 2,709 (-3.42%)
Mutual labels:  icons
Silver
A cross-shell customizable powerline-like prompt with icons
Stars: ✭ 238 (-91.52%)
Mutual labels:  icons
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (-91.98%)
Mutual labels:  flags
Material Menu
Animations for Android L drawer, back, dismiss and check icons
Stars: ✭ 2,481 (-11.55%)
Mutual labels:  icons
Animated Clock Icon
Easy-to-use animated clock icon for Android
Stars: ✭ 253 (-90.98%)
Mutual labels:  icons
Swiftui Sliders
🚀 SwiftUI Sliders with custom styles
Stars: ✭ 241 (-91.41%)
Mutual labels:  tvos
Sketch Feather
Sketch library for Feather icons
Stars: ✭ 237 (-91.55%)
Mutual labels:  icons
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (-8.7%)
Mutual labels:  tvos
Flutter Icons
Customizable Icons for Flutter 💥
Stars: ✭ 241 (-91.41%)
Mutual labels:  icons
Rtimageassets
A Xcode plugin to automatically generate 2x, 1x image from 3x image for you, or upscale to 3x from 2x
Stars: ✭ 2,490 (-11.23%)
Mutual labels:  icons
Octopuskit
2D ECS game engine in 100% Swift + SwiftUI for iOS, macOS, tvOS
Stars: ✭ 246 (-91.23%)
Mutual labels:  tvos
Ember Font Awesome
ember-cli addon for using Font Awesome icons in Ember apps
Stars: ✭ 225 (-91.98%)
Mutual labels:  icons
Smart Hierarchy
Better hierarchy for Unity.
Stars: ✭ 234 (-91.66%)
Mutual labels:  icons
Fire
🔥A delightful HTTP/HTTPS networking framework for iOS/macOS/watchOS/tvOS platforms written in Swift.
Stars: ✭ 243 (-91.34%)
Mutual labels:  tvos
Quiz
Ex 1 - Run timed quizzes via the command line
Stars: ✭ 234 (-91.66%)
Mutual labels:  flags

Header

FlagKit

Beautiful flag icons for usage in apps and on the web. All flags are provided as stand-alone PNG and SVG files. FlagKit also provides an Asset Catalog and framework for easy use on Apple platforms.

Installation (iOS, macOS, tvOS)

FlagKit provides a framework for easy installation as a dependency. You can also manually copy the Asset Catalog into your project.

SwiftPM

Add the folowinig as repository URL:

https://github.com/madebybowtie/FlagKit.git

Carthage

Add the following line to your Cartfile:

github "madebybowtie/FlagKit"

CocoaPods

Add the following line to your Podfile:

pod 'FlagKit'

Manual

Add Assets/FlagKit.xcassets to your target.

Usage (iOS, macOS, tvOS)

FlagKit provides both rectangular unstyled flags and styled flags in a variety of shapes. Our sample project demonstrates how to display flags and customize them into different shapes (rounded corners, square, circle).

Note: Styling is currently not supported by FlagKit on macOS

This brief example loads the flag for the users current locale, and retrieves the unstyled flag and a styled flag:

let countryCode = Locale.current.regionCode!
let flag = Flag(countryCode: countryCode)!

// Retrieve the unstyled image for customized use
let originalImage = flag.originalImage

// Or retrieve a styled flag
let styledImage = flag.image(style: .circle)

You can always access the underlying assets directly, through the bundled Asset Catalog:

let countryCode = Locale.current.regionCode!
let bundle = FlagKit.assetBundle
let originalImage = UIImage(named: countryCode, in: bundle, compatibleWith: nil)

Reference

FlagKit provides over 250 flags. A list of all flags can be found here.

More Info

Have a question? Please open an issue!

License

FlagKit is released under the MIT license. See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].