@Tarek I used two instances of your objects to create a double line
UIView *separator = [[UIView alloc] initWithFrame:CGRectMake(0, cell.contentView.frame.size.height - 0.5, cell.contentView.frame.size.width, 1)]; UIView *separator2 = [[UIView alloc] initWithFrame:CGRectMake(0, cell.contentView.frame.size.height - 1.0, cell.contentView.frame.size.width, 1)]; separator.backgroundColor = [UIColor darkGrayColor]; separator2.backgroundColor = [UIColor blackColor]; [cell.contentView addSubview:separator]; [cell.contentView addSubview:separator2];
Looks nice! Kudos to you.
Claus
source share