Skip to content

Parity: NSPredicate and NSExpression #2272

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

Merged
merged 2 commits into from
May 16, 2019
Merged

Parity: NSPredicate and NSExpression #2272

merged 2 commits into from
May 16, 2019

Conversation

millenomi
Copy link
Contributor

  • Add diagnostics for features not supported by swift-corelibs-foundation, including format strings (which rely on key-value coding for most of their usefulness).

  • NSComparisonPredicate relies on NSExpression, which is not going to be available. Mark it as unavailable.

  • Predicate archival relies on format strings. Remove the NSSecureCoding conformance of NSPredicate, since we cannot safely assert to be able to encode or decode arbitrary predicates.

@millenomi
Copy link
Contributor Author

@swift-ci please test

millenomi added 2 commits May 15, 2019 14:20
 - Add diagnostics for features not supported by swift-corelibs-foundation, including format strings (which rely on key-value coding for most of their usefulness).

 - NSComparisonPredicate relies on NSExpression, which is not going to be available. Mark it as unavailable.

 - Predicate archival relies on format strings. Remove the NSSecureCoding conformance of NSPredicate, since we cannot safely assert to be able to encode or decode arbitrary predicates.
@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

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

Successfully merging this pull request may close these issues.

1 participant