Skip to content

[4.0] Add Codable conformance to common CG types #10404

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 1 commit into from
Jun 20, 2017

Conversation

itaiferber
Copy link
Contributor

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

Explanation: Give custom Codable implementations for CGAffineTransform, CGPoint, CGSize, CGRect, and CGVector, along with unit tests.
Scope: Users of the Codable API who wish to encode these CG types should not have to add their own (potentially incompatible) conformance
Radar: rdar://problem/32651486
Risk: Low
Testing: Adds unit tests to confirm expected behavior.

Give custom Codable implementations for CGAffineTransform, CGPoint,
CGSize, CGRect, and CGVector, along with unit tests.
@itaiferber
Copy link
Contributor Author

@swift-ci Please test

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