Page 341 Giving Me Errors

Hi,

On Page 341, the UISwipeGestureRecognizer is giving me errors. Even in the finished file for that chapter in the Resources is giving me errors too. Anyone know how to fix that line of code?

let swipeRight:UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action:#selector(ViewController.handleGesture(_:)))

Hi there,

Looks like you’re using v1.1 of the source code with Xcode v7.2?

One solution would be to upgrade Xcode to v7.3, or to go download V1.0 of the source code, which will compile against Xcode v7.2.

Hope that helps. Thanks for your support!

Hi Chris,

Thanks for the response! The Xcode upgrade worked.

-Craig