SIBListModeCellFactory Protocol Reference
Conforms to | NSObject |
Declared in | SIBListModeCellFactory.h |
Overview
You must implement this protocol in order to construct cells and provide their reuse identifiers for the SCItemListBrowser controller. Typically, the cells should be inherited from the SCItemListCell class.
You should not invoke dequeueReusableCellWithIdentifier: explicitly. SCItemListBrowser is responsible for doing so.
Tasks
-
– createLevelUpCellForListModeOfItemsBrowser:
Constructs a new cell for the level up item.
required method -
– itemsBrowser:createListModeCellForItem:
Constructs a new cell for the item cell.
required method -
– reuseIdentifierForLevelUpCellOfItemsBrowser:
Provides the reuse identifier for the level up item.
required method -
– itemsBrowser:itemCellReuseIdentifierForItem:
Provides the reuse identifier for the item cell.
required method
Instance Methods
createLevelUpCellForListModeOfItemsBrowser:
Constructs a new cell for the level up item.
- (UITableViewCell *)createLevelUpCellForListModeOfItemsBrowser:(SCItemListBrowser *)sender
Parameters
- sender
SCItemListBrowser controller instance.
Return Value
A new cell.
Declared In
SIBListModeCellFactory.h
itemsBrowser:createListModeCellForItem:
Constructs a new cell for the item cell.
- (UITableViewCell<SCItemCell> *)itemsBrowser:(SCItemListBrowser *)sender createListModeCellForItem:(SCItem *)item
Parameters
- sender
SCItemListBrowser controller instance.
- item
An item to be rendered in the given cell.
Return Value
A new cell.
Declared In
SIBListModeCellFactory.h
itemsBrowser:itemCellReuseIdentifierForItem:
Provides the reuse identifier for the item cell.
- (NSString *)itemsBrowser:(SCItemListBrowser *)sender itemCellReuseIdentifierForItem:(SCItem *)item
Parameters
- sender
SCItemListBrowser controller instance.
- item
An item to be rendered in the given cell.
Declared In
SIBListModeCellFactory.h
reuseIdentifierForLevelUpCellOfItemsBrowser:
Provides the reuse identifier for the level up item.
- (NSString *)reuseIdentifierForLevelUpCellOfItemsBrowser:(SCItemListBrowser *)sender
Parameters
- sender
SCItemListBrowser controller instance.
Declared In
SIBListModeCellFactory.h