SCTableViewControllerDelegate

@protocol SCTableViewControllerDelegate

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

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

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerViewDidLoad:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller will appear.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerWillAppear:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller has appeared.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerDidAppear:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller will disappear.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerWillDisappear:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller has disappeared.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerDidDisappear:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller will be presented.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerWillPresent:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller has been presented.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerDidPresent:
        (SCTableViewController *)tableViewController;
  • Asks the delegate if the view controller should be dismissed.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to dismiss the view controller.
    • - parameter: doneTapped TRUE if Done button has been tapped to dismiss the view controller.
    • - returns: Retrun TRUE to have the view controller dismissed, otherwise return FALSE.

    Declaration

    Objective-C

    - (BOOL)tableViewControllerShouldDismiss:
                (SCTableViewController *)tableViewController
                          cancelButtonTapped:(BOOL)cancelTapped
                            doneButtonTapped:(BOOL)doneTapped;
  • Notifies the delegate that the view controller will be dismissed.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to dismiss the view controller.
    • - parameter: doneTapped TRUE if Done button has been tapped to dismiss the view controller.

    Declaration

    Objective-C

    - (void)tableViewControllerWillDismiss:
                (SCTableViewController *)tableViewController
                        cancelButtonTapped:(BOOL)cancelTapped
                          doneButtonTapped:(BOOL)doneTapped;
  • Notifies the delegate that the view controller has been dismissed.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to dismiss the view controller.
    • - parameter: doneTapped TRUE if Done button has been tapped to dismiss the view controller.

    Declaration

    Objective-C

    - (void)tableViewControllerDidDismiss:
                (SCTableViewController *)tableViewController
                       cancelButtonTapped:(BOOL)cancelTapped
                         doneButtonTapped:(BOOL)doneTapped;
  • Notifies the delegate that the view controller will gain focus from master model.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerWillGainFocus:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller did gain focus from master model.

    • - parameter: tableViewController The view controller informing the delegate of the event.

    Declaration

    Objective-C

    - (void)tableViewControllerDidGainFocus:
        (SCTableViewController *)tableViewController;
  • Notifies the delegate that the view controller will lose focus to its master model.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to dismiss the view controller.
    • - parameter: doneTapped TRUE if Done button has been tapped to dismiss the view controller.

    Declaration

    Objective-C

    - (void)tableViewControllerWillLoseFocus:
                (SCTableViewController *)tableViewController
                          cancelButtonTapped:(BOOL)cancelTapped
                            doneButtonTapped:(BOOL)doneTapped;
  • Notifies the delegate that the view controller did lose focus to its master model.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to dismiss the view controller.
    • - parameter: doneTapped TRUE if Done button has been tapped to dismiss the view controller.

    Declaration

    Objective-C

    - (void)tableViewControllerDidLoseFocus:
                (SCTableViewController *)tableViewController
                         cancelButtonTapped:(BOOL)cancelTapped
                           doneButtonTapped:(BOOL)doneTapped;
  • Notifies the delegate that the view controller did enter editing mode.

    Declaration

    Objective-C

    - (void)tableViewControllerDidEnterEditingMode:
        (SCTableViewController *)viewController;
  • Notifies the delegate that the view controller did exit editing mode.

    • - parameter: tableViewController The view controller informing the delegate of the event.
    • - parameter: cancelTapped TRUE if Cancel button has been tapped to exit editing mode.
    • - parameter: doneTapped TRUE if Done button has been tapped to exit editing mode.

    Declaration

    Objective-C

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