FlagKit v2.0 Release Notes

Release Date: 2017-08-09 // over 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