title: Create Action For Static Cell Clicked in UITableView
body: <p>How can I make a static table view to create an action when one of the cells is clicked in Swift?</p>
  
  <p>I have created a static table like a general menu of the app, I can directly create a push segue when one of the cells are clicked. But at the same time when I click to one of the seques, I want the below function to be run. By draging a cell to the UITableView in storyboard the create action option is not appearing.</p>
  
  <pre><code>    var goToProfiles = PFObject(className: "goToProfile")    
      goToProfiles["user"] = PFUser.currentUser()!.username
      goToProfiles["goToUser"] = usernameLbl.text
      goToProfiles.save()
  </code></pre>