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

PredicateExpressions for String is only available for FOUNDATION_FRAMEWORK #540

Open
axelandersson opened this issue Apr 10, 2024 · 2 comments

Comments

@axelandersson
Copy link

Hi,

The predicate expressions StringLocalizedStandardContains and StringLocalizedCompare are under #if FOUNDATION_FRAMEWORK.

I would like to use these on Linux as well.

@jmschonfeld
Copy link
Contributor

Those two are currently unavailable because the APIs that they represent (String.localizedStandardContains and String.localizedStandardCompare) are not yet available in the package. We can add the Predicate operators as soon as the actual APIs are available. It looks like we have #284 open to track localized comparison, @itingliu do we have another radar tracking bringing over the string contains functions (localized in particular)?

@itingliu
Copy link
Contributor

Yes we have a radar for implementing localized contain: 104656368. We can create an issue as well if we think that helps keeping things on track.

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

3 participants