Skip to content

Add Codable conformance to common Foundation types #9715

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

Conversation

itaiferber
Copy link
Contributor

What's in this pull request?
Take two of this PR because I broke the iOS builders last time.

Add conformances + unit tests for

  • CGFloat
  • AffineTransform
  • Calendar
  • CharacterSet
  • DateComponents
  • DateInterval
  • Decimal
  • IndexPath
  • IndexSet
  • Locale
  • Measurement
  • NSRange
  • PersonNameComponents
  • TimeZone
  • URL
  • UUID

along with some unit tests for each.

@itaiferber itaiferber force-pushed the foundation-codable-conformances branch from b17383b to e3978ff Compare May 17, 2017 23:05
@itaiferber
Copy link
Contributor Author

@swift-ci Please smoke test OS X

@jrose-apple
Copy link
Contributor

Please do a full test on macOS before merging this time.

@itaiferber
Copy link
Contributor Author

@jrose-apple Will do. Just want to make sure the tests compile and run here briefly before continuing.

@itaiferber itaiferber force-pushed the foundation-codable-conformances branch 3 times, most recently from 0817a47 to 2b45e18 Compare May 18, 2017 00:30
@itaiferber
Copy link
Contributor Author

@swift-ci Please test and merge

@itaiferber itaiferber force-pushed the foundation-codable-conformances branch from 2b45e18 to aae2d40 Compare May 18, 2017 03:58
@itaiferber
Copy link
Contributor Author

@swift-ci Please test and merge

@itaiferber
Copy link
Contributor Author

I don't know why GitHub suddenly reported a merge conflict that had to be resolved (because there was nothing really conflicting), but let's try this again...

@itaiferber
Copy link
Contributor Author

@swift-ci Please test and merge

@itaiferber itaiferber force-pushed the foundation-codable-conformances branch from b166501 to c0ec2c5 Compare May 18, 2017 14:54
Add conformances + unit tests for

* CGFloat
* AffineTransform
* Calendar
* CharacterSet
* DateComponents
* DateInterval
* Decimal
* IndexPath
* IndexSet
* Locale
* Measurement
* NSRange
* PersonNameComponents
* TimeZone
* URL
* UUID

along with some unit tests for each.
@itaiferber itaiferber force-pushed the foundation-codable-conformances branch from c0ec2c5 to 012ea93 Compare May 18, 2017 14:56
@itaiferber
Copy link
Contributor Author

@swift-ci Please test and merge

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