calm / KenBurns

A little Swift utility that performs the Ken Burns effect on an image
http://calm.com/jobs
MIT License
30 stars 18 forks source link

Can't compile, got 17 errors. #2

Closed thbaja closed 8 years ago

thbaja commented 8 years ago

Installed via CocoaPods.

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

tsheaff commented 8 years ago

@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 commented 8 years ago

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

TEJ227 commented 8 years ago

Can I use this with Swift 2 and Xcode 7.3?

tsheaff commented 8 years ago

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

TEJ227 commented 8 years ago

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

tsheaff commented 8 years ago

@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 commented 8 years ago

@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 commented 8 years ago

Awesome thanks