Components features missing from Locale
Closed this issue · 1 comments
MCJack123 commented
Description
The Locale.Components
struct (introduced in iOS 16/macOS 13), and its associated methods and constructors in Locale
, are not implemented in this version of Foundation. This makes it impossible to use locales with different components on non-Apple targets.
Expected behavior
The Locale
struct is up-to-date with the current macOS/iOS Foundation library, including Locale.Components
.
Actual behavior
Locale.Components
is missing, preventing compilation of code that uses it.
Environment
- Arch Linux (latest)
- Swift 5.9.2 (Red Hat UBI9)
- Whichever
swift-corelibs-foundation
ships with Swift 5.9.2