title: How to access UIAlertAction title property in Swift?
body: <p>I have a UIAlertController with multiple UIAlertActions. I am wanting to access the UIAlertAction title property of the selected action.</p>
  <pre><code>    let ac = UIAlertController(title: &quot;Choose Filter&quot;, message: nil, preferredStyle: .actionSheet)
      ac.addAction(UIAlertAction(title: &quot;CIBumpDistortion&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CIGaussianBlur&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CIPixellate&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CISepiaTone&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CITwirlDistortion&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CIUnsharpMask&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;CIVignette&quot;, style: .default, handler: setFilter))
      ac.addAction(UIAlertAction(title: &quot;Cancel&quot;, style: .cancel, handler: nil))
          
  </code></pre>
  <p>Accessing the ac.title property only access the AlertController title property.</p>
  <p>Looking into the Apple documentation, it looks like I may need to use something like</p>
  <pre><code>var title: String? { get }
  </code></pre>
  <p>However I'm not familiar on how to use this syntax.</p>