Has anyone seen a snippet (or class/library) that will draw that corner triangle in a tableview cell (see below image).

You can create a new view from an image and then add it to the cell calling addSubview. Here is a example setting the corner upon launch:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @"cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
        CGRect cornerFrame = CGRectMake(x, y, width, height);
        UIImageView * corner = [[UIImageView alloc] initWithFrame:cornerFrame];
        [corner setImage:[UIImage imageNamed:@"corner.jpg"]];
        [cell.contentView addSubview:corner];
    }
    return cell;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With