Swift - Error 'Expected ',' separator' and '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(_:)))
Getting Errors 'Expected ',' separator'
and 'Expected expression in list of expressions'
for the above code..It would be great..if somebody enlighten me...
Solution 1:
Update the Xcode to 7.3 The new #selector syntax will only work in Xcode 7.3 (or newer)