Coder Social home page Coder Social logo

flagkit's People

Contributors

antontingstrom avatar blommegard avatar edwardmp avatar gellermark avatar hannseman avatar matrejek avatar mosheberman avatar readmecritic avatar wopian avatar yageek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flagkit's Issues

Flags for all App Store countries

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

Swift 3

Hi,

What's the plan here? Is that branch going to make it to master?

Thank you,
H.

Missing countries

missing Flags :
FaroeIslands
Aruba
Martinique
SaintHelena
SouthGeorgiaSandwichIslands
Tokelau
Tuvalu
WesternSahara

Thank you very much for everything esle.

Pod update still to v1.1.1

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 ?

Add SVGs for use on the web

would be nice to have some svg files to use on the web.

Also some SASS / LESS / STYLUS mixins for implementation as well.

Flag Deleted In A Commit

It looks like the flag for Sri Lanka (LK) [Issue #13] might have been accidentally deleted in commit 682cf67. It’d be great if you guys could add it back in soon!

Missing country flags

Hi,

I have found that some below country flags are missing from list.

  1. AN - Netherlands Antilles (+599)
  2. SH - St. Helena (+290)

Thanks.

Deprecated

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).

Missing Flags for Island Countries and Territories

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

Brazil

Hi, the Brazilian flag is missing the inner blue circle. Thanks

Header.png

How did you make the strethcy/wavy natural looking BE, PA & JP flags in the Header.png?

Missing countries and territories

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:

  • Aruba AW
  • Faroe Islands FO
  • Martinique MQ
  • So. Georgia & So. Sandwich Isl. GS
  • Tokelau TK
  • Tuvalu TV

Can't open on the latest Sketch version

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

1x images

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

Flag representing "International/World/Others"

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.

Missing country flags

Can you please add these flags?
Turkish Republic of Northern Cyprus
Antarctica
Western Sahara
Netherlands Antilles
Saint Helena
Saint Martin

Can't use FlagKit in Objective-C project

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?

Flag representing "North America"

This is an amazing repo, the flags looks really good.

I would love to see a flag representing North America. The one with a United States and Canada flag split diagonally.

Do you accept pull requests by the way?

North America Flag

Carthage build failed, OS X 10.11.6, Xcode 8, Swift 3.

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.

Module 'UIKit' not found

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'

SVG: linearGradient elements don't have unique ids, so there's "colour bleeding" between SVG flags

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: image => RO: image, AUS: image, UK: image

Providing PDF Vector Assets

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

Too many stripes on US flag

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.

iOS 10 add some new countris or some have changed

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

Support for iOS 9

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.

Low Resolutions of Flag Images

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.