Skip to content

Releases: Adrianogba/brazil-state-flags-swift

Release list

1.0.0

Choose a tag to compare

@Adrianogba Adrianogba released this 02 Sep 13:05

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 ImageRenderer on 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.