Quick q regarding Selectors in XCode (Swift)
<p>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.</p>

<pre><code>button.addTarget(self, action: #selector(RatingControl.ratingButtonTapped(_:)), 
forControlEvents: .TouchDown)
</code></pre>

<p>And the errors are:</p>

<ol>
<li><p>Expected ',' separator (between "action:" and "#selector" TWICE)</p></li>
<li><p>Expected expression in lists of expressions</p></li>
</ol>