Swift – Error'Expected','separator'和'Expected expression in list of expressions'

let screenBounds = UIScreen.mainScreen().bounds var initialOrigin: CGFloat = UIScreen.mainScreen().bounds.height - 108 let offset: CGFloat = 108 var lastItem: ViewModel? var currentURIs = [NSURL]() lazy var panRecognizer: UIPanGestureRecognizer = UIPanGestureRecognizer(target: self, action: #selector(PlayerController.handlePanGesture(_:))) lazy var tapRecognizer: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(PlayerController.handleTapGesture(_:))) 

在上面的代码中获取错误'Expected ',' separator''Expected expression in list of expressions' 。这将是伟大的..如果有人启发我…

将Xcode更新为7.3新的#selector语法仅适用于Xcode 7.3(或更新版本)