<TTModelDelegate> Protocol Reference

Inheritance diagram for <TTModelDelegate>:
MockModelDelegate TTModelViewController TTPhotoViewController TTPopupViewController TTTableViewController TTWebController TTActionSheetController TTAlertViewController TTPostController TTTextBarController TTExtensionInfoController TTExtensionsController TTThumbsViewController

List of all members.

Public Member Functions

(void) - modelDidStartLoad:
(void) - modelDidFinishLoad:
(void) - model:didFailLoadWithError:
(void) - modelDidCancelLoad:
(void) - modelDidChange:
 Informs the delegate that the model has changed in some fundamental way.
(void) - model:didUpdateObject:atIndexPath:
(void) - model:didInsertObject:atIndexPath:
(void) - model:didDeleteObject:atIndexPath:
(void) - modelDidBeginUpdates:
 Informs the delegate that the model is about to begin a multi-stage update.
(void) - modelDidEndUpdates:
 Informs the delegate that the model has completed a multi-stage update.

Member Function Documentation

- (void) modelDidBeginUpdates: (id< TTModel >)  model   [optional]

Informs the delegate that the model is about to begin a multi-stage update.

Models should use this method to condense multiple updates into a single visible update. This avoids having the view update multiple times for each change. Instead, the user will only see the end result of all of your changes when you call modelDidEndUpdates.

- (void) modelDidChange: (id< TTModel >)  model   [optional]

Informs the delegate that the model has changed in some fundamental way.

The change is not described specifically, so the delegate must assume that the entire contents of the model may have changed, and react almost as if it was given a new model.

- (void) modelDidEndUpdates: (id< TTModel >)  model   [optional]

Informs the delegate that the model has completed a multi-stage update.

The exact nature of the change is not specified, so the receiver should investigate the new state of the model by examining its properties.


The documentation for this protocol was generated from the following file:
blog comments powered by Disqus