Use this tag only for questions directly related to changes in version 2.x of Apple's Swift programming language.
I'm porting an older app over to Xcode 7 beta and I'm getting an error on my animations: Cannot invoke 'animateWithDuration' …
swift swift2 animatewithduration swift3 optionsettypeI'm new to Swift and I'm trying to learn how to use Core Data. But I'm getting this error and …
core-data swift2protocol Car { var wheels : Int { get set} init(wheels: Int) } extension Car { init(wheels: Int) { self.wheels = wheels } } on self.…
swift initialization swift2 protocols swift-extensionsI have a piece of code which is generating lots of warnings (deprecated API) Using clang* I could do #pragma …
swift pragma swift2I'm trying to use Swift 2's new @testable declaration to expose my classes to the test target. However I'm getting …
ios swift unit-testing swift2I just started programming and following a tutorial online I was unable to create this animation. Can anyone tell me …
ios uiview swift2Before explain my problem, it is important to say that I already implemented the suggestion made in this question and …
ios swift uiviewanimation swift2 xcode7