title: Repeating UIFont and UIColor on Scroll UITableView
body: <p>I`m having a problem and I created a simple mvp to show for you guys.</p>
  
  <p>When I scroll on the table other index gets the color and the font.</p>
  
  <p><strong>Exemple:</strong></p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController,UITableViewDataSource,UITableViewDelegate{
      var texto: [String] = []
  
      @IBOutlet weak var tableView: UITableView!
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          tableView.delegate = self
          tableView.dataSource = self
          tableView.rowHeight = UITableViewAutomaticDimension
          tableView.estimatedRowHeight = 44.0
  
          texto.append("Title 1")
          texto.append("Content 1")
          texto.append("Read More 1")
  
          texto.append("Title 2")
          texto.append("Content 2")
          texto.append("Read More 2")
  
          texto.append("Title 3")
          texto.append("Content 3")
          texto.append("Read More 3")
  
          texto.append("Title 4")
          texto.append("Content 4")
          texto.append("Read More 4")
  
          texto.append("Title 5")
          texto.append("Content 5")
          texto.append("Read More 5")
  
          texto.append("Title 6")
          texto.append("Content 6")
          texto.append("Read More 6")
  
          texto.append("Title 7")
          texto.append("Content 7")
          texto.append("Read More 7")
  
          self.tableView!.reloadData()
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
  
      }
  
      func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return self.texto.count
      }
  
      func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCellWithIdentifier("cell2")! as UITableViewCell
  
          if [0,3].contains(indexPath.row){
              cell.textLabel?.font = UIFont(name: "Helvetica", size: 28)
          }
          if [2,5].contains(indexPath.row){
              cell.textLabel?.textColor = UIColor(hue: 0.575, saturation: 1, brightness: 0.89, alpha: 1.0)
  
          }
          cell.textLabel?.text = self.texto[indexPath.row]
          return cell
      }
  
  
  }
  </code></pre>
  
  <p>In the <code>cellForRowAtIndexPath</code> I write, if index of texto is 0 or 3 they get font changed,  but when i use the scroll other index`s get the same font too.</p>
  
  <h1>Right way!</h1>
  
  <p><a href="https://i.stack.imgur.com/TgVdM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgVdM.png" alt="enter image description here"></a></p>
  
  <h1>Wrong way!</h1>
  
  <p><a href="https://i.stack.imgur.com/Ey1mp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ey1mp.png" alt="enter image description here"></a></p>