title: Why is the numberOfRowsInSection being called multiple times for only one section?
body: <pre><code>// Variable and ViewDidLoad
  
  var auxRow = 0
  var auxSection = 0   
  
  override func viewDidLoad() {
      super.viewDidLoad()
  }
  </code></pre>
  
  <p>//Number Of Sections, only one section</p>
  
  <pre><code> override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
          auxSection += 1
          print("times section: ", auxSection)
          return 1
      }
  </code></pre>
  
  <p>//Number Of Rows</p>
  
  <pre><code>override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      auxRow += 1
      print("times row: ", auxRow)
      return 2
  }
  </code></pre>
  
  <p>// TableView Configure the cell</p>
  
  <pre><code>override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let textCellIdentifier = "cellText"
      let cell = tableView.dequeueReusableCellWithIdentifier(textCellIdentifier, forIndexPath: indexPath)
      let variable : String = indexPath.row.description
      cell.textLabel?.text = variable
      return cell
  
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>    times section:  1
      times row:  1
      times section:  2
      times row:  2
      times section:  3
      times row:  3
      times section:  4
      times row:  4
  </code></pre>
  
  <p>The method <code>numberOfRowsInSection</code> is being called 4 times. Why is that happening?</p>