SCAbstractItemsBrowserSubclassing Protocol Reference
| Conforms to | NSObject |
| Declared in | SCAbstractItemsBrowserSubclassing.h |
Tasks
-
– reloadContentViewThis 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 *)indexPathParameters
- selectedItem
An item selected by the user in the content view. It can be a sub-class of
- SCItem
- SCLevelUpItem
- indexPath
Index path of the selected item.
Declared In
SCAbstractItemsBrowserSubclassing.hreloadContentView
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)reloadContentViewDiscussion
Note : content view should be reloaded both on level down and level up events.
Declared In
SCAbstractItemsBrowserSubclassing.h