Skip to content

Commit

Permalink
Merge pull request #2 from yangsiy/master
Browse files Browse the repository at this point in the history
Fix a bug of reusable cell
  • Loading branch information
SergioChan committed Sep 22, 2015
2 parents 5e0b165 + 99a3e4a commit acf7dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SCTableView/SCTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell = [[SCTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"reuseIdentifier" inTableView:self.tableView withSCStyle:SCTableViewCellStyleRight];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell.delegate = self;
NSString *item = [self.data objectAtIndex:indexPath.row];
cell.textLabel.text = item;
}
NSString *item = [self.data objectAtIndex:indexPath.row];
cell.textLabel.text = item;
return cell;
}

Expand Down

0 comments on commit acf7dc7

Please sign in to comment.