title: How can I know if a cell of UITableView is selected?
body: <p>I am writing an app in Swift with XCode. It includes a <code>UITableView</code>. Just one question - in Swift, how can I tell what cell is selected by the user?</p>
  
  <p>To clarify:</p>
  
  <ol>
  <li>A user selects the cell with the label "foo"</li>
  <li>The code should return "foo", or whatever is selected by the user</li>
  </ol>