title: NSIndexPath? does not have a member name 'row' error in Swift
body: <p>I'm creating a UITableViewController with Swift language and in a method</p>
  
  <pre><code>override func tableView(tableView: UITableView?, cellForRowAtIndexPath indexPath: NSIndexPath?) -&gt; UITableViewCell?
  </code></pre>
  
  <p>I'm getting this error</p>
  
  <blockquote>
    <p>NSIndexPath? does not have a member name 'row' error in Swift </p>
  </blockquote>
  
  <p>and I don't understand why.</p>
  
  <p>This is my code</p>
  
  <pre><code>import UIKit
  
  class DPBPlainTableViewController: UITableViewController {
  
      var dataStore: NSArray = NSArray()
  
      override func viewDidLoad() {
          super.viewDidLoad()
          self.dataStore = ["one","two","three"]
  
          println(self.dataStore)
      }
  
  
      // #pragma mark - Table view data source
  
      override func numberOfSectionsInTableView(tableView: UITableView?) -&gt; Int {
  
          // Return the number of sections.
          return 1
      }
  
      override func tableView(tableView: UITableView?, numberOfRowsInSection section: Int) -&gt; Int {
  
          // Return the number of rows in the section.
          return self.dataStore.count
      }
  
  
      override func tableView(tableView: UITableView?, cellForRowAtIndexPath indexPath: NSIndexPath?) -&gt; UITableViewCell? {
          let cell: UITableViewCell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "Cell")
  
          cell.textLabel.text = self.dataStore[indexPath.row]
  
          return cell
      }
  
  }
  </code></pre>
  
  <p>Then, how can set the cell.text with the array dataStore element?</p>