Skip to content

[4.0] NSKeyed{Una,A}rchiver should support Codable #11081

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

Conversation

itaiferber
Copy link
Contributor

What's in this pull request?
Cherry-picks #11025 to swift-4.0-branch.

Explanation: Adds methods to NSKeyedArchiver and NSKeyedUnarchiver to encode and decode Codable objects
Scope: Allows anyone using NSKeyedArchiver and NSKeyedUnarchiver in Swift to encode Codable subgraphs.
Radar: rdar://problem/30472067
Risk: Low
Testing: This adds unit tests to confirm expected behavior.

@itaiferber
Copy link
Contributor Author

@swift-ci Please test

@itaiferber itaiferber merged commit fb60fa3 into swiftlang:swift-4.0-branch Jul 20, 2017
@itaiferber itaiferber deleted the 4.0-codable_support_for_nsarchival branch July 20, 2017 22:40
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.

2 participants