Move a few methods from RKTableController to RKAbstractTableController and added their implementations in RKFetchedResultsTableController. Fixed a bug regarding cell reuse in RKFetchedResultsTableController. Added the ability to set the NSFetchRequest on the RKFetchedResultsTableController, instead of requiring that it be looked up in the RKManagedObjectCache via a provided resourcePath.

This commit is contained in:
Jeff Arena
2012-01-06 11:19:26 -05:00
committed by Blake Watters
parent a5da9d30e3
commit d20f44804e
6 changed files with 67 additions and 56 deletions

View File

@@ -110,6 +110,13 @@ extern NSString* const RKTableControllerDidBecomeOffline;
- (id)objectForRowAtIndexPath:(NSIndexPath *)indexPath;
- (RKTableViewCellMapping*)cellMappingForObjectAtIndexPath:(NSIndexPath *)indexPath;
/**
Return the index path of the object within the table
*/
- (NSIndexPath *)indexPathForObject:(id)object;
- (id)objectAtIndexPath:(NSIndexPath *)indexPath;
- (UITableViewCell *)cellForObject:(id)object;
/////////////////////////////////////////////////////////////////////////
/// @name Header and Footer Rows
/////////////////////////////////////////////////////////////////////////