Removed the potentially wrong assert for indexPath.section.

This commit is contained in:
NicholasTD07
2014-03-03 10:09:26 +08:00
parent 903fd5029b
commit 583daec223

View File

@@ -36,8 +36,8 @@
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSParameterAssert([indexPath section] == 0);
NSParameterAssert([indexPath row] < [self tableView:self.tableView numberOfRowsInSection:[indexPath section]]);
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:[self cellIdentifier] forIndexPath:indexPath];
// Configure the cell...