Declared in SCTableViewController.h

Overview

This protocol should be adopted by objects that want to mediate as a delegate for SCTableViewController. All methods for this protocol are optional.

Instance Methods

tableViewControllerDidAppear:

Notifies the delegate that the view controller has appeared.

- (void)tableViewControllerDidAppear:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerDidDisappear:

Notifies the delegate that the view controller has disappeared.

- (void)tableViewControllerDidDisappear:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerDidDismiss:cancelButtonTapped:doneButtonTapped:

Notifies the delegate that the view controller has been dismissed.

- (void)tableViewControllerDidDismiss:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to dismiss the view controller.

doneTapped

TRUE if Done button has been tapped to dismiss the view controller.

Declared In

SCTableViewController.h

tableViewControllerDidEnterEditingMode:

Notifies the delegate that the view controller did enter editing mode.

- (void)tableViewControllerDidEnterEditingMode:(SCTableViewController *)viewController

Declared In

SCTableViewController.h

tableViewControllerDidExitEditingMode:cancelButtonTapped:doneButtonTapped:

Notifies the delegate that the view controller did exit editing mode.

- (void)tableViewControllerDidExitEditingMode:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to exit editing mode.

doneTapped

TRUE if Done button has been tapped to exit editing mode.

Declared In

SCTableViewController.h

tableViewControllerDidGainFocus:

Notifies the delegate that the view controller did gain focus from master model.

- (void)tableViewControllerDidGainFocus:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerDidLoseFocus:cancelButtonTapped:doneButtonTapped:

Notifies the delegate that the view controller did lose focus to its master model.

- (void)tableViewControllerDidLoseFocus:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to dismiss the view controller.

doneTapped

TRUE if Done button has been tapped to dismiss the view controller.

Declared In

SCTableViewController.h

tableViewControllerDidPresent:

Notifies the delegate that the view controller has been presented.

- (void)tableViewControllerDidPresent:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerShouldDismiss:cancelButtonTapped:doneButtonTapped:

Asks the delegate if the view controller should be dismissed.

- (BOOL)tableViewControllerShouldDismiss:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to dismiss the view controller.

doneTapped

TRUE if Done button has been tapped to dismiss the view controller.

Return Value

Retrun TRUE to have the view controller dismissed, otherwise return FALSE.

Declared In

SCTableViewController.h

tableViewControllerViewDidLoad:

Notifies the delegate that the view controller’s view has been loaded.

- (void)tableViewControllerViewDidLoad:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerWillAppear:

Notifies the delegate that the view controller will appear.

- (void)tableViewControllerWillAppear:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerWillDisappear:

Notifies the delegate that the view controller will disappear.

- (void)tableViewControllerWillDisappear:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerWillDismiss:cancelButtonTapped:doneButtonTapped:

Notifies the delegate that the view controller will be dismissed.

- (void)tableViewControllerWillDismiss:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to dismiss the view controller.

doneTapped

TRUE if Done button has been tapped to dismiss the view controller.

Declared In

SCTableViewController.h

tableViewControllerWillGainFocus:

Notifies the delegate that the view controller will gain focus from master model.

- (void)tableViewControllerWillGainFocus:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h

tableViewControllerWillLoseFocus:cancelButtonTapped:doneButtonTapped:

Notifies the delegate that the view controller will lose focus to its master model.

- (void)tableViewControllerWillLoseFocus:(SCTableViewController *)tableViewController cancelButtonTapped:(BOOL)cancelTapped doneButtonTapped:(BOOL)doneTapped

Parameters

tableViewController

The view controller informing the delegate of the event.

cancelTapped

TRUE if Cancel button has been tapped to dismiss the view controller.

doneTapped

TRUE if Done button has been tapped to dismiss the view controller.

Declared In

SCTableViewController.h

tableViewControllerWillPresent:

Notifies the delegate that the view controller will be presented.

- (void)tableViewControllerWillPresent:(SCTableViewController *)tableViewController

Parameters

tableViewController

The view controller informing the delegate of the event.

Declared In

SCTableViewController.h