title: How to create selecting option UITableView similar in iOS Settings in Swift?
body: <p>I'm developing an app that requires users to select one option from the list of the table view. It's kind of similar to ringtone option in settings of the iPhone. I have attached a screen illustration of what exactly I'm trying to accomplish.</p>
  
  <p>Now I want that option that is selected to be able to send as a value to my PHP Script with <code>HTTPMethod</code>. This is the type of request I use, I guess, is just in matter of storing the data in variable.</p>
  
  <p><strong>HTTP Request Demo</strong></p>
  
  <pre><code>   let requestURL = NSURL(string: "http://example.com/script.php")
     let request = NSMutableURLRequest(URL: requestURL!)
     request.HTTPMethod = "POST"
  </code></pre>
  
  <p><strong>Illustration:</strong>
  <img src="https://i.stack.imgur.com/4f4B8.jpg" alt="enter image description here"></p>
  
  <p>I understand this is a beginner, but I haven't found any tutorial that does this in swift.</p>