Skip to content

Releases: andreabusi/SwiftFlags

2.0.0

13 Mar 14:11

Choose a tag to compare

SwiftFlags 2.0.0

Full Changelog: 1.2.0...2.0.0

Breaking Changes

  • Dropped CocoaPods support. SwiftFlags is now distributed exclusively via Swift Package Manager.

Changes

  • Rebuilt the sample app from scratch using SwiftUI
  • Improved Package.swift definition
  • Updated documentation and README

Migration

If you were using CocoaPods, switch to Swift Package Manager by adding SwiftFlags to your project's package dependencies:

.package(url: "https://github.com/AEandruzzzi/SwiftFlags.git", from: "2.0.0")

v1.2.0

30 Apr 13:47

Choose a tag to compare

This version enables interoperability with Objective-C!

SwiftFlags can now be used also from ObjC code:

NSString *itFlag = [SwiftFlags flagFor:@"it"];
NSString *usCode = [SwiftFlags countryCodeFor:@"United States"];

v1.1.2

30 Apr 13:22

Choose a tag to compare

Add more alternative names for some countries:

  • CV: Cabo Verde
  • LA: Laos
  • MK: North Macedonia, Republic of

v1.1.1

26 Apr 16:08

Choose a tag to compare

Fix issue with some countries (ex. Iran or Russia)

v1.1.0

25 Apr 17:23

Choose a tag to compare

This release add support for Swift Package Manager.

v1.0.1

25 Apr 17:20

Choose a tag to compare

This release solve issues with library installed via CocoaPods.

Due to missing public attribute on class and methods, the SwiftFlags was unusable when installed from CocoaPods.

v1.0.0

25 Apr 17:19

Choose a tag to compare

This is the first version of SwiftFlags. 🚀

It contains support for CocoaPods.