Skip to content

Swift 3 API Parity: Data & NSData #553

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

Closed
wants to merge 15 commits into from
Closed

Swift 3 API Parity: Data & NSData #553

wants to merge 15 commits into from

Conversation

michael-lehew
Copy link
Contributor

Brings the Data and NSData API in s-cl-f to match the public version of Swift3 on Darwin. Reorganizes the implementation of Data/NSData to be a bit saner (versus somewhat vestigially matching the Objective-C categories on Darwin). Also brings a whole host of tests over from our overlay (some disabled for now, since the real focus of this PR is the API parity, which we should have now).

Brings the Data and NSData API in s-cl-f to match the public version of Swift3 on Darwin. Reorganizes the implementation of Data/NSData to be a bit saner (versus somewhat vestigially matching the Objective-C categories on Darwin).  Also brings a whole host of tests over from our overlay (some disabled for now, since the real focus of this PR is the API parity, which we should have now).
@michael-lehew
Copy link
Contributor Author

This got a bit larger than I wanted because the disorganization in NSData.swift was making it hard to keep track of what I had already done. Further, the initializers defined in extensions was impacting ability to define subclasses and the like.

@michael-lehew
Copy link
Contributor Author

@swift-ci please test linux

@michael-lehew
Copy link
Contributor Author

@swift-ci please test linux

@michael-lehew
Copy link
Contributor Author

I'm going to redo this in a different way + branch (this commit was getting too messy, and now that Philippe has landed his id -> Any changes) a few things end up different. Standby.

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