Skip to content
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

Port to swift 3 #17

Open
brycelund opened this issue Oct 19, 2016 · 5 comments
Open

Port to swift 3 #17

brycelund opened this issue Oct 19, 2016 · 5 comments

Comments

@brycelund
Copy link

Has anyone been able to successfully port this over to Swift 3?

@mehulparmar4ever
Copy link

nope.. lots of errors

screen shot 2016-10-24 at 12 56 11 pm

@ranaaamer
Copy link

same here, still lot of errors

@Sumit-2singh
Copy link

hi @brycelund you can download these two file and add into your source it port in swift 4.0
Source.zip

@strawherotk
Copy link

Hi @Sumit-2singh ,
Do you have the Swift 4 version of file "TCBlobDownloadSwiftTest"?
I got a similar issue with this file. The Xcode Build throws this error:

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

@strawherotk
Copy link

strawherotk commented Mar 19, 2018

In Xocde 9 & Swift 4, after using @Sumit-2singh 's code, there 1 more error:

func is inaccessible due to 'private' protection level

You need to make the change to fix it:

`fileprivate let directory: NSURL?`

Use 'fileprivate' instead of 'private'.

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

No branches or pull requests

5 participants