title: Swift selecting a cell in each section
body: <p>I have a little problem in selecting multiple cells in swift.</p>
  
  <p>I don't want to let the user select as many cells as he wants, he is only allowed to select three cells (one in each Section). To make it more clear I'll give you some code.</p>
  
  <p>I have three sections: </p>
  
  <pre><code>override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
      return 3
  }
  
  override func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -&gt; UIView? {
  
      let headerCell = tableView.dequeueReusableCellWithIdentifier("HeaderCell") as! CustomHeaderCell
  
      /* let  headerCell = tableView.dequeueReusableCellWithIdentifier("HeaderCell") as CustomHeaderCell */
   //   headerCell.backgroundColor = UIColor.set(#E6E2E1)
  
      switch (section) {
      case 0:
          headerCell.headerLabel.text = "Bundesliga";
          //return sectionHeaderView
      case 1:
          headerCell.headerLabel.text = "BBVA";
          //return sectionHeaderView
      case 2:
          headerCell.headerLabel.text = "BPL";
          //return sectionHeaderView
      default:
          headerCell.headerLabel.text = "Other";
      }
  
      return headerCell
  }
  </code></pre>
  
  <p>And I want go give the User for example 5 <code>Club</code>s to select from in each <code>League</code>. He has to select his favourite <code>Club</code> in each <code>League</code>. I don't want to make something like this: </p>
  
  <pre><code>tableView.allowsMultipleSelection = true
  </code></pre>
  
  <p>Because I want to allow only one Selection in each Section. How can I limit the user like this? </p>