Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components features missing from Locale #4887

Open
MCJack123 opened this issue Feb 28, 2024 · 0 comments
Open

Components features missing from Locale #4887

MCJack123 opened this issue Feb 28, 2024 · 0 comments

Comments

@MCJack123
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant