mirror of
https://github.com/zhigang1992/NTDCoreDataTableViewController.git
synced 2026-01-12 22:40:11 +08:00
Using dot notation for NSIndexPath properties.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
NSParameterAssert([indexPath row] < [self tableView:self.tableView numberOfRowsInSection:[indexPath section]]);
|
||||
NSParameterAssert(indexPath.row < [self tableView:self.tableView numberOfRowsInSection:indexPath.section]);
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:[self cellIdentifier] forIndexPath:indexPath];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user