title: tableview cell with two Identifier. for odd one cell and for even another cell in tableview
body: <p><a href="https://i.stack.imgur.com/Jnodv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jnodv.jpg" alt="enter image description here"></a></p>
  
  <p>I want to load Identifier according to odd and even <code>indexPath</code>.</p>
  
  <pre><code>func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell{
      if indexPath.row % 2 == 0{
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! categoryTVC
           return cell
      }else{
           let cell = tableView.dequeueReusableCellWithIdentifier("CellOdd", forIndexPath: indexPath) as! categoryTVC
          return cell
      }
  }
  
  func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return self.categoryDetailArray?.count ?? 00
  }
  </code></pre>
  
  <p>this work but there is one problem with this ..its generate one extra cell each time.</p>