title: Swift - TableView, change font of even rows to bold
body: <p>I have a tableview and i want to change the font of even rows, Here is my code:</p>
  
  <pre><code>func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cellIdentifier = "ProductListTableViewCell"
      let cell = tableView.dequeueReusableCellWithIdentifier(cellIdentifier, forIndexPath: indexPath) as! ProductListTableViewCell
  
      let product = productList[indexPath.row]
  
      cell.productName.text = product.name
      cell.productPrice.text = "\(product.price) manat"
  
      if(indexPath.row % 2 == 0) {
          cell.productName.font = UIFont.boldSystemFontOfSize(13.0)
          cell.productPrice.font = UIFont.boldSystemFontOfSize(13.0)
      }
      return cell
  }
  </code></pre>
  
  <p>when i run my code, at the beginning everything works correctly, when i scroll my table view, all new rows appeared on screen becomes bold, both even and old rows. What am i doing wrong?</p>