title: Create grouped UITableviewCell with custom selection Color and Border
body: <p>I'm currently writing an App which uses different selection Colors in a grouped Table View. This works great as far as it comes to Borders. 
  I'm able to change Selection Color with the Code in this Post:
  <a href="https://stackoverflow.com/q/400965/1199089">How to customize the background/border colors of a grouped table view cell?</a></p>
  
  <p><strong>BUT</strong> I'd like to additionally have the nice Border around the Cells that Apple uses. How can I use this Border?</p>
  
  <p><a href="http://www.mediafire.com/?x2gxbkjqu4d2zto" rel="nofollow noreferrer">http://www.mediafire.com/?x2gxbkjqu4d2zto</a></p>
  
  <p>This is the Code to create the Background - mostly copied from above Post:
  <a href="http://www.mediafire.com/?kltwlni1mf4t7ks" rel="nofollow noreferrer">http://www.mediafire.com/?kltwlni1mf4t7ks</a></p>
  
  <p>And this is how I use it:</p>
  
  <pre><code>NSIndexPath * indexPath = [[[NSIndexPath alloc] initWithIndex:0] indexPathByAddingIndex:1];
  CGRect frame = [[self tableView] rectForRowAtIndexPath:indexPath];
  TLCustomCellBackgroundView * selectedBackgroundView = [[TLCustomCellBackgroundView alloc] initWithFrame:frame andColor:[UIColor redColor]];
  [selectedBackgroundView setPosition:CustomCellBackgroundViewPositionBottom];
  [[[self tableView] cellForRowAtIndexPath:indexPath] setSelectedBackgroundView:selectedBackgroundView];
  </code></pre>
  
  <p>As you can see I nearly got it working correctly except of the gray Border around the second Cell.</p>