Added a delegate method tableControllerDidFinishFinalLoad:

The method name stinks, but we need a callback in didFinishLoad, one that gets called when done loading loading from Core Data, static, or from the network.
This commit is contained in:
Greg Combs
2011-12-23 22:16:04 -06:00
committed by Blake Watters
parent 8a77a18465
commit a4f685694a
2 changed files with 7 additions and 0 deletions

4
Code/UI/RKAbstractTableController.h Normal file → Executable file
View File

@@ -278,6 +278,10 @@ extern NSString* const RKTableControllerDidBecomeOffline;
- (void)tableControllerDidCancelLoad:(RKAbstractTableController *)tableController;
- (void)tableController:(RKAbstractTableController *)tableController didLoadObjects:(NSArray*)objects inSection:(NSUInteger)sectionIndex;
/** Sent to the delegate when the controller is really and truly finished loading/updating, whether from the network or from Core Data, or from static data, ... this happens in didFinishLoading
**/
- (void)tableControllerDidFinishFinalLoad:(RKAbstractTableController *)tableController;
/**
Sent to the delegate when the content of the table view has become empty
*/