title: Show UIAlertView from UITableViewCell in TableView
body: <p>Beginner here. Having a hard time understanding delegates and how to implement them. </p>
  
  <p>I have a TableViewCell that determines whether or not an audio file is present. 
  If no audio file, show an alertView in the tableView that contains the tableViewCell. I was told that using delegates would solve this problem but no idea how to use them. </p>
  
  <p>Here is the code for the TableViewCell and where it determines whether or not to show alert:</p>
  
  <pre><code>    class TablePostCellView: UITableViewCell, AVAudioPlayerDelegate {
      ...
      @IBAction func playAudio(sender: AnyObject) {
      //self.post?.audioObject.parsePlaySound()
      if self.post?.audioObject.parseSoundPlayBack == nil{
          println("no audio show alert")
      } else{
          println("playAudio")
          parseSoundPlayBack.play()
      }
  }
  </code></pre>
  
  <p>I read this: <a href="https://stackoverflow.com/questions/30483104/presenting-uialertcontroller-from-uitableviewcell">Presenting UIAlertController from UITableViewCell</a> but it didn't really help me.</p>