Closed florentlotthepro closed 2 years ago
Add an API to get flags assets from a string.
When we need to use a flag, we have a country code but currently, with the country code, we cannot get the flag.
How to use:
let frenchFlag: UIImage? = VitaminAssets.flag(countryCode: "fr")?.image
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
Changes description
Add an API to get flags assets from a string.
Context
When we need to use a flag, we have a country code but currently, with the country code, we cannot get the flag.
Checklist
Does this introduce a breaking change?
Other information
How to use: