Skip to content

RandomHashTags/swift-sovereign-states

Repository files navigation

swift-sovereign-states

Implement and use real-world regional divisions. I didn't want other people investing their time and energy on creating or paying for something like this, which is why it is licensed under the public domain and works offline.

Installation

Requirements

  • Swift >= 5.5
  • macOS >= 12.0
  • iOS >= 15.0
  • tvOS >= 15.0
  • watchOS >= 8.0

Optional Expansions

CocoaPods

pod 'SwiftSovereignStates', '~> 1.2.1'

Swift Package Manager

.package(url: "https://github.com/randomhashtags/swift-sovereign-states.git", from: "2.0.0")

Current Limitations

  • only supports English localization
  • only a few level-2 supported subdivisions

Contributing

Adding/improving functionality is always welcome, just make a PR.

Funding

Support the development of this project by sponsoring the developers.

License

Public Domain. Creative Commons Zero v1.0 Universal.