Releases: andreabusi/SwiftFlags
Releases · andreabusi/SwiftFlags
2.0.0
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
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
Add more alternative names for some countries:
- CV: Cabo Verde
- LA: Laos
- MK: North Macedonia, Republic of
v1.1.1
Fix issue with some countries (ex. Iran or Russia)
v1.1.0
This release add support for Swift Package Manager.
v1.0.1
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
This is the first version of SwiftFlags. 🚀
It contains support for CocoaPods.