github madebybowtie/FlagKit v2.0
FlagKit 2.0

latest releases: 2.4.0, v2.3.0, v2.2...
6 years ago

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.

Updated flags

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 🎉

SVG assets

All flags are now available as SVG assets.

Framework for Apple platforms

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.

Project restructure

  • All assets are now grouped per asset type in the Assets folder
  • Source code for the framework and sample project is located in the Source folder

Don't miss a new FlagKit release

NewReleases is sending notifications on new releases.