mirror of
https://github.com/zhigang1992/NTDCoreDataTableViewController.git
synced 2026-06-17 01:49:36 +08:00
Removed the potentially wrong assert for indexPath.section.
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user