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

Can't compile, got 17 errors. #2

Closed
thbaja opened this issue Sep 16, 2016 · 8 comments
Closed

Can't compile, got 17 errors. #2

thbaja opened this issue Sep 16, 2016 · 8 comments

Comments

@thbaja
Copy link
Contributor

thbaja commented Sep 16, 2016

Installed via CocoaPods.

You use TimeInterval instead of NSTimeInterval, URL instead of NSURL and so on.
What am I missing here?

@tsheaff
Copy link
Contributor

tsheaff commented Sep 16, 2016

@thbaja you're not missing anything, you're correct. I wrote this a few weeks ago, I think on Xcode 8 Beta 2. The Xcode 8 GM made some big changes to Swift (it's now the Swift 3.0 final), including several naming changes such as these.

Feel free to submit a quick pull-request, hopefully it's pretty quick to get this compiling on Xcode 8 GM & Swift 3.0

@thbaja
Copy link
Contributor Author

thbaja commented Sep 16, 2016

Ah, interesting! Thanks for your quick reply 👍 :)

@TEJ227
Copy link

TEJ227 commented Sep 20, 2016

Can I use this with Swift 2 and Xcode 7.3?

@tsheaff
Copy link
Contributor

tsheaff commented Sep 20, 2016

@TEJ227 it should be compatible with Swift 2, yes.

@TEJ227
Copy link

TEJ227 commented Sep 20, 2016

Thanks for the reply @tsheaff . Update after trying: Code is not compatible with Swift 2.

@tsheaff
Copy link
Contributor

tsheaff commented Sep 20, 2016

@TEJ227 can you be more specific. Which swift version (Swift 2.x?) are you on? What Xcode are you on? What are the errors. I developed this repo about two months ago, on Swift 2.3 and Xcode 7. I no longer have Xcode 7 Installed on my machine. I recommend upgrading to Xcode 8 regardless (you can't submit apps for iOS 10 without it)

@TEJ227
Copy link

TEJ227 commented Sep 21, 2016

@tsheaff Errors I was having are same as stated in this issue. I'm currently using Swift 2.2 and Xcode 7.3
Will update it now as you have recommended.

@tsheaff
Copy link
Contributor

tsheaff commented Sep 21, 2016

Awesome thanks

@thbaja thbaja closed this as completed Oct 21, 2016
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

3 participants