First release.
Flags of the 26 Brazilian states, the Federal District and Brazil, in four styles: full, rounded, squareRounded and circle. 124 drawings in total, for iOS, macOS, tvOS, watchOS and visionOS.
- No assets and no dependencies. Every flag is vector data compiled into Swift.
- Each flag is a lazy
static let, so the linker strips the ones an app never names. - UF code shorthands (
FlagsCircle.sp) alongside full names. - Runtime lookup by UF, documented as reaching every flag in a style.
- Rendering verified by generating contact sheets with
ImageRendereron a Mac and comparing against the Flutter and Compose output.
Instalação / Install
In Xcode: File → Add Package Dependencies, then paste this repository's URL.
.package(url: "https://github.com/Adrianogba/brazil-state-flags-swift.git", from: "1.0.0")Artwork from icones-bandeiras-br-uf by Pierre Lapalu, CC0 1.0.
Also available for Flutter and Compose Multiplatform.