title: How to add actions to UIAlertController and get result of actions (Swift)
body: <p>I want to set up a <code>UIAlertController</code> with four action buttons, and the titles of the buttons to be set to "hearts", "spades", "diamonds", and "clubs". When a button is pressed, I want to return its title. </p>
  
  <p>In short, here is my plan:</p>
  
  <pre><code>// TODO: Create a new alert controller
  
  for i in ["hearts", "spades", "diamonds", "clubs"] {
  
      // TODO: Add action button to alert controller
  
      // TODO: Set title of button to i
  
  }
  
  // TODO: return currentTitle() of action button that was clicked
  </code></pre>