Skip to content

Update to Swift 3 #60

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 10 commits into from
Closed

Update to Swift 3 #60

wants to merge 10 commits into from

Conversation

soffes
Copy link
Contributor

@soffes soffes commented Sep 20, 2016

⚠️ The two upload tests are currently failing so I commented them out. We should fix those before merging this.

@rhysforyou
Copy link

rhysforyou commented Oct 18, 2016

@soffes looks like you need to remove the TOOLCHAINS environment variable from .travis.yml, otherwise it's trying to build and test against Swift 2.3.

// There isn't a mutable NSHTTPURLResponse, so we have to make our own.
class URLHTTPResponse: NSHTTPURLResponse {
// There isn't a mutable HTTPURLResponse, so we have to make our own.
class HTTPURLResponse: Foundation.HTTPURLResponse {
Copy link
Contributor

@sethhoward sethhoward Nov 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this code is not brought in via a pod (directly added to a project) which flavor of HTTPURLResponse will be used throughout the code base, Foundation or this? I would argue that this class should be prefixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can directly reference via the module, that is, either DVR.HTTPURLResponse or Foundation.HTTPURLResponse.

I think having it that way is most explicit and readable.

@armstrongnate
Copy link

I fixed the upload tests in https://github.com/soffes/DVR/pull/1.

@codeOfRobin
Copy link

@soffes @n8armstrong Any ETA on when this'll be ready for production?

@eliperkins
Copy link
Contributor

eliperkins commented Jan 3, 2017

@soffes @hyperspacemark @florin-pop @n8armstrong how do y'all feel about getting this PR up to date and merged into master? I feel like people have been using the swift-3 branches/forks for long enough to vet them. It'd be great to get things like @n8armstrong's fixing of the upload tests and everyone else's work into master soon!

@brentleyjones
Copy link

Would love to have this merged!

@eliperkins eliperkins mentioned this pull request Jan 17, 2017
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.

8 participants