title: Change border color of a UITableViewCell on selection
body: <p>I am using a custom table view cell for my tableview. For setting the border, I have put a view on the custom cell and I am changing its border properties.</p>
  
  <pre><code>self.borderView.layer.borderColor = VIEW_BORDER_COLOR;
  </code></pre>
  
  <p>I want to highlight the selected cell by changing it's border color. I tried to change it in didselectrowforindexpath, </p>
  
  <pre><code>cell.borderView.layer.borderColor = [UIColor yellowColor].CGColor;
  </code></pre>
  
  <p>but as the cells are reused it changes on scrolling.</p>