madebybowtie / flagkit Goto Github PK
View Code? Open in Web Editor NEWBeautiful flag icons for usage in apps and on the web.
License: MIT License
Beautiful flag icons for usage in apps and on the web.
License: MIT License
Thanks for FlagKit!
I would like to have all App Store countries in FlagKit. Flags currently missing (+/- the ones I missed):
AI Anguilla
BM Bermuda
FJ Fiji
GD Grenada
GY Guyana
KY Cayman Islands
MO Macau
MS Montserrat
SB Solomon Islands
SC Seychelles
SZ Swaziland
TC Turks and Caicos
VC St. Vincent and The Grenadines
VG British Virgin Islands
ZW Zimbabwe
Hi,
What's the plan here? Is that branch going to make it to master?
Thank you,
H.
CEU is not works currently cocoapod version
missing Flags :
FaroeIslands
Aruba
Martinique
SaintHelena
SouthGeorgiaSandwichIslands
Tokelau
Tuvalu
WesternSahara
Thank you very much for everything esle.
Hi,
Pod update with pod 'FlagKit'
is still to the 1.1.1 version and the [!] FlagKit has been deprecated
appears at the end.
Have you an idea ?
These tiny flags are too small in some cases. I think rendering from SVG maybe a better solution.
would be nice to have some svg files to use on the web.
Also some SASS / LESS / STYLUS mixins for implementation as well.
Hi,
I have found that some below country flags are missing from list.
Thanks.
Is there a specific reason you removed the code part and integration with CocoaPods? The changes for Swift 3 are very little (just did this manually to keep it working).
Thanks for making FlagKit! I’m incorporating it into an open-source iOS app, and I noticed that the following island countries and territories are missing:
BV: Bouvet Island
CC: Cocos (Keeling) Islands
CK: Cook Islands
CX: Christmas Island
FK: Falkland Islands (Islas Malvinas)
GU: Guam
HM: Heard & McDonald Islands (just a copy of the Australian national flag)
IO: British Indian Ocean Territory
MH: Marshall Islands
MP: Northern Mariana Islands
NF: Norfolk Island
PN: Pitcairn Islands
UM: United States Minor Outlying Islands (just a copy of the US flag)
VI: United States Virgin Islands
Hi! Just wondering... is there a way to get the flags styled like the top ones in https://github.com/madebybowtie/FlagKit/blob/master/Header.png, with shade etc. (assuming that's not .roundedRect, .square, or .circle)?
It would be awesome if you could add a GB-NIR flag to complete the GB set!
Hi, the Brazilian flag is missing the inner blue circle. Thanks
the flag for switzerland is represented as being rectangular, it should be square
How did you make the strethcy/wavy natural looking BE, PA & JP flags in the Header.png?
I'd be great if NSImage
could be supported as well.
I am not sure if you are planning to put any of these countries and territories to FlagKit. But here is some missing ones I found:
Version 3.3.3 (12081) is the latest release, but when opening the sketch file, a error message states that "Unable to open file. This document was created with a newer version of Sketch. Please upgrade to the latest version and try again."
Bundle.image(forResource:)
now takes NSImage.Name
as a parameter not String
, the fix simple enough, would be cool to have a new release with it
You have a beautiful collection. I see 2x and 3x images, but don't see any 1x - how do I go about finding 1x images?
Thanks
AFK
i don't know if it's pixelated or not but i see ✡ instead of ☆
Example case:
In a previous project I was creating a drop down menu with a handful of flags for the user to choose from and get the default country code for their phone number. The company only had official customers from these selected countries, however they wanted to give the user the chance to add their own country code in case they're currently on vacation in another country not officially catered to from the company.
Idea:
A flag that indicates something where the user could see "oh, that means global/other countries/etc" would be helpful. Unfortunately the world hasn't decided on an earth flag just yet (despite existing ideas, like this or this), in my previous project I ended up combining the UN flag's blue background and a slightly altered version of the globe available in the wikimedia commons.
Can you please add these flags?
Turkish Republic of Northern Cyprus
Antarctica
Western Sahara
Netherlands Antilles
Saint Helena
Saint Martin
It might not be a country by it's own but I think it has a flag that could be useful to have.
Hi,
Maybe there's something else going on here, but somehow I can't use FlagKit anymore in my Objective-C project.
Using [[FKFlag alloc] initWithCountryCode:@"FLAGKIT"]
leads to a compiler error claiming that FKFlag
does not have any initWithCountryCode
initializer.
Is anyone else experiencing the same issue?
Was just wondering if there are any ways to make the flag images bigger. Using Swift 3 so couldn't properly implement FlagKit into my project.
I'm using FlagKit for macOS project, programming in Swift 3.
My system is OS X 10.11.6, platform is Xcode 8, Carthage 0.18.
In my Cartfile, I wrote:
github "madebybowtie/FlagKit" "swift3"
When I run "carthage update" in my console, it always failed to build:
Failed to write to /Users/User/Documents/Projects/Lab/Project/Carthage/Build/Mac/FlagKit.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “FlagKit.framework” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/User/Documents/Projects/Lab/Project/Carthage/Checkouts/FlagKit/DerivedData/FlagKit/Build/Products/Release-iphoneos/FlagKit.framework, NSUnderlyingError=0x7f89ce1c04f0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
The 'FlagKit.framework' file actually exist in '/Release' folder, I tried "carthage update --platform Mac" got the same error.
Looking for help, Thanks a lot.
I'm using FlagKit for macOS project, programming in Swift 3.
My system is OS X 10.11.6, platform is Xcode 8, Carthage 0.18.
In my Cartfile, I wrote:
github "madebybowtie/FlagKit" "swift3"
After I drag the framework into my project and build after import flagkit, I got two errors said:
.../Carthage/Build/Mac/FlagKit.framework/Headers/FlagKit-Swift.h:113:9: Module 'UIKit' not found
MyClass.swift:12:8: Could not build Objective-C module 'FlagKit'
Even specifying the platform:
carthage update --platform=ios
Only the the framework for OS X built.
What's wrong?
Sorry I can't make a pull request... I don't have sketch not even a mac. Please add the flag for Sri Lanka :
You can find the original file here : https://commons.wikimedia.org/wiki/File:Flag_of_Sri_Lanka.svg
There are a lot of flags with linear gradients, which are give ids like "linearGradient-1".."linearGradient-n".
So, let's say you have the AR flag, followed by RO.
AR has two linear-gradient elements: id="linearGradient-1" and id="linearGradient-2"
RO has 3: id="linearGradient-1", id="linearGradient-2" and id="linearGradient-3"
In this case, if they are on the same HTML page, the RO flag will use the gradients 1 and 2 from the AG file:
AG: => RO: , AUS: , UK:
Hey there 🤘
what about PDF assets? This would save a lot of space in an iOS Project when providing 250 PDF's instead of 750 PNG's ;-)
Cheers
Stefan
Master contains the migration to Swift 4, but was never released. Please, make a new release.
I don't know if it was an intentional design decision, but your US flag has 15 stripes. The actual US flag only has 13.
用的是iOS10模拟器,获取系统的国家列表
AC=Ascension Island
BQ=Caribbean Netherlands
CP=Clipperton Island
CW=Curaçao
DG=Diego Garcia
EA=Ceuta & Melilla
IC=Canary Islands
KP=North Korea
SS=South Sudan
SX=Sint Maarten
TA=Tristan da Cunha
XK=name=Kosovo
Would be nice with Cocoapods support
Is it possible to lower the minimum version requirement for the pod? I'd like to use it in the app that supports iOS 9.
Should be 5 blue + 4 white. Attaching corrected PNG and SVG. Thanks!
Is it possible to get flag images of higher resolutions from the framework?
I am using flag kit to get a flag image to fill up a 40 points x 40 points UIButton's imageview, however, the image looks blurred because the size of the original image returned from the framework is just 21points x 15points on a 2x resolution device(i.e.: iphone6)
Cheers,
KC
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.