mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-21 02:50:11 +08:00
Switched retrieval of table views cells during row selection events to lookup by indexPath on the tableView
rather than through table controller plumbing
This commit is contained in:
@@ -475,7 +475,8 @@ static NSString* lastUpdatedDateDictionaryKey = @"lastUpdatedDateDictionaryKey";
|
||||
|
||||
id object = [self objectForRowAtIndexPath:indexPath];
|
||||
|
||||
UITableViewCell* cell = [self cellForObjectAtIndexPath:indexPath];
|
||||
// NOTE: Do NOT use cellForObjectAtIndexPath here. See https://gist.github.com/eafbb641d37bb7137759
|
||||
UITableViewCell* cell = [theTableView cellForRowAtIndexPath:indexPath];
|
||||
RKTableViewCellMapping* cellMapping = [_cellMappings cellMappingForObject:object];
|
||||
|
||||
// NOTE: Handle deselection first as the onSelectCell processing may result in the tableView
|
||||
|
||||
Reference in New Issue
Block a user