Browse files

Pass the JMStaticContentTableViewCell to the configureBlock so that t…

…he user can retain it to change things like the cell's height.
  • Loading branch information...
1 parent 4eba01b commit cd170e57c8aed1bcb634db08d2108a8dae37142d @jakemarsh committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 JMStaticContentTableViewController/JMStaticContentTableViewController.m
View
2 JMStaticContentTableViewController/JMStaticContentTableViewController.m
@@ -69,7 +69,7 @@ - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(
cell.accessoryView = nil;
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
- cellContent.configureBlock(nil, cell, indexPath);
+ cellContent.configureBlock(cellContent, cell, indexPath);
return cell;
}

0 comments on commit cd170e5

Please sign in to comment.