Conforms to NSObject
Declared in SCAbstractItemsBrowserSubclassing.h

Overview

Override methods of this protocol when subclassing SCAbstractItemsBrowser.

Tasks

  • – reloadContentView

    This method is triggered by the SCAbstractItemsBrowser each time contents of a given level are successfully loaded. Your implementation must call reloadData method of the content view you are using.

    required method
  • – didSelectItem:atIndexPath:

    This method should be triggered by the delegate of your content view. Depending on the selectedItem the SCAbstractItemsBrowser will decide whether it chould go to the next level or to the upper level.
    This method is already implemented in the SCAbstractItemsBrowser. However, you are responsible for invoking it in your sub-class.

Instance Methods

didSelectItem:atIndexPath:

This method should be triggered by the delegate of your content view. Depending on the selectedItem the SCAbstractItemsBrowser will decide whether it chould go to the next level or to the upper level.
This method is already implemented in the SCAbstractItemsBrowser. However, you are responsible for invoking it in your sub-class.

- (void)didSelectItem:(id)selectedItem atIndexPath:(NSIndexPath *)indexPath

Parameters

selectedItem

An item selected by the user in the content view. It can be a sub-class of

indexPath

Index path of the selected item.

Declared In

SCAbstractItemsBrowserSubclassing.h

reloadContentView

This method is triggered by the SCAbstractItemsBrowser each time contents of a given level are successfully loaded. Your implementation must call reloadData method of the content view you are using.

- (void)reloadContentView

Discussion

Note : content view should be reloaded both on level down and level up events.

Declared In

SCAbstractItemsBrowserSubclassing.h