Beautiful flag icons for usage in apps and on the web.
Adding support for SwiftPM. (Thanks @matrejek)!
Migrating framework, tests and demo to Swift 5. (Thanks @hannseman!)
Adding two more flags, Saint Helena and Saint Martin
This is a big release! All flags have been updated, SVG assets have been added, and the iOS/macOS/tvOS framework has been restored and improved.
Flags are no longer styled per default. FlagKit 1.0 styled the flags with rounded corners and shadows in the image. FlagKit 2.0 no longer provides that styling per default, instead we provide rectangular flags, allowing you to style them however fits your use case 🎉
All flags are now available as SVG assets.
FlagKit is once again available as a framework for iOS, macOS, and tvOS. It can easily be installed using package managers such as Carthage and CocoaPods.
⚠️ FlagKit framework now requires at least iOS 10.0, tvOS 10.0, or macOS 10.10
The API has changed significantly, because of the changes mentioned above. Flags are now retrieved as a Flag
model, which allows you to access flags in different styled options (rounded rect, square, circle). You can also easily access the original styled flag for customizing yourself. See the readme for instructions on how to use the new API.
A sample project has been created, showing how to list flags and customize the styling of flags in code.
Assets
folderSource
folderA flag for Northern Ireland added.
There is an issue with the flag of Northern Ireland, but we decided to go with the one they used in the UEFA Euro, the Ulster Banner.
The framework will now be built for both iOS and OSX when using Carthage.
Finally adding support for Cocoapods.