Skip to content

Commit

Permalink
improve display style of UITableViewCells while editing
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Feb 12, 2012
1 parent c674910 commit f4e3725
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CAENLabStatus/DZCLabsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell.showsReorderControl = NO;
}

cell.shouldIndentWhileEditing = NO;

return cell;
}

Expand Down Expand Up @@ -369,6 +367,11 @@ - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleFo
return UITableViewCellEditingStyleNone;
}

- (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath
{
return NO;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// Navigation logic may go here. Create and push another view controller.
Expand Down

0 comments on commit f4e3725

Please sign in to comment.