lc-locale

0.3.0

gitMcFly/lc-locale

What's New

lc-locale 0.3.0

2022-06-08T22:21:54Z

Replace Locale.Language with Locale.LCLanguage to avoid collision with Apple's Locale.Language in macOS 13, iOS 16, tvOS 16, & watchOS 9.

lc-locale

Typesafe Locale specification via locale + language. Not a complete enumeration by any means, but inclusion of your favorite country & language is just a pull request away!

Usage

import lc_locale

let toronto = Locale.canada(language: .english)
let quebec = Locale.canada(language: .french)

let cuba = Locale.cuba()
let officialCubanLanguage = cuba.language // .spanish

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Oct 21 2024 14:49:40 GMT-0900 (Hawaii-Aleutian Daylight Time)