tags:

views:

44

answers:

1

I have a UITableView that uses a variety of custom UITableViewCells.

I'd like to be able to have one of these table cells appear with a different separator color than the rest of the other cells.

I know that tableview.seperatorColor updates the whole tableView. Is there a cell specific property I missing or another approach to doing this?

Thanks for any tips. Sorry if I am just spaceing on something in the UITableCell class.

+2  A: 

The tableView.separatorColor is global across all cells.

if you want to further customize these colors, your best bet would be to set seperatorStyle property to UITableViewCellSeperatorStyleNone and override UITableViewCell

Then you can draw your own custom seperator in the contentView of the Cell and customize it.

davydotcom