Basically, I have been using Start Developing iOS Apps (Swift) by Apple for learning and I have come across some code that simply does not work - the Apple version as well.
button.addTarget(self, action: #selector(RatingControl.ratingButtonTapped(_:)),
forControlEvents: .TouchDown)
And the errors are:
Expected ',' separator (between "action:" and "#selector" TWICE)
Expected expression in lists of expressions