title: Cannot display value in UITableView
body: <p>I am getting an error saying "NSString does not have member 'subscript'" on the following line.</p>
  
  <pre><code>cell.textLabel?.text = objname[indexPath.row]
  </code></pre>
  
  <p>Here is the code (error line is at the bottom).</p>
  
  <pre><code> func makeGetRequest(){
  
          var url : String = "http://apiairline.yome.vn/api/get-airport"
          var request : NSMutableURLRequest = NSMutableURLRequest ()
          request.URL = NSURL(string: url)
          request.HTTPMethod = "GET"
          request.setValue("1454310830", forHTTPHeaderField: "TIMESTAMP")
          request.setValue("f8675bfb33f792eeef665da66848623539978204b3b1b036c79aa38218dd7061", forHTTPHeaderField: "HASH")
  
          NSURLConnection.sendAsynchronousRequest(request, queue: NSOperationQueue(), completionHandler:{ (response:NSURLResponse!, data: NSData!, error: NSError!) -&gt; Void in
              var error: AutoreleasingUnsafeMutablePointer&lt;NSError?&gt; = nil
              let jsonResult: NSDictionary! = NSJSONSerialization.JSONObjectWithData(data, options:NSJSONReadingOptions.MutableContainers, error: error) as? NSDictionary
  
              var _names: NSMutableArray = NSMutableArray()
              if (jsonResult != nil) {
                  let dataArray = jsonResult["airport_list"] as NSArray;        
                  var _names: NSMutableArray = NSMutableArray()
                  for item :AnyObject in dataArray{
                      let obj = item as NSDictionary
                      let airport_name = obj["airport_name"] as NSString
                      let alias = obj["alias"] as NSString
                      let code = obj["code"] as NSString
                      let iata = obj["iata"] as NSString
                      let location = obj["location"] as NSString
                      let type = obj["type"] as NSString
  
                      _names.addObject(airport_name)
                      _names.addObject(alias)
                      _names.addObject(code)
                      _names.addObject(iata)
                      _names.addObject(location)
                      _names.addObject(type)
  
                       self.congchuoi = airport_name + alias + code + iata + location + type
                      println(self.congchuoi)
                      self.TableData = _names                                   
                  }                                     
              } else {
                  println("Failed")
              }
  
          })
      }
  
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell
  
  
          var airport_list = TableData[indexPath.row].valueForKey("airport_list") as NSDictionary
         var objname = airport_list.valueForKey("airport_name") as NSString
         cell.textLabel?.text = objname[indexPath.row]
  
  
  
          return cell
      }
  </code></pre>