RBLazyLayoutViewDelegate Protocol Reference
Conforms to | NSObject RBBaseLayoutViewDelegate |
---|---|
Declared in | RBLazyLayoutView.h |
– lazyLayoutView:cellWillLoad:atIndex:
Called when the cell at the given index will be loaded.
- (void)lazyLayoutView:(nonnull RBLazyLayoutView *)lazyLayoutView cellWillLoad:(nonnull __kindof UIView *)cell atIndex:(NSUInteger)index
Parameters
lazyLayoutView |
The layout view object. |
---|---|
cell |
The cell that is being loaded. |
index |
The index of the cell that is being loaded. |
Discussion
Called when the cell at the given index will be loaded.
Declared In
RBLazyLayoutView.h
– lazyLayoutView:cellDidLoad:atIndex:
Called when the cell at the given index was loaded.
- (void)lazyLayoutView:(nonnull RBLazyLayoutView *)lazyLayoutView cellDidLoad:(nonnull __kindof UIView *)cell atIndex:(NSUInteger)index
Parameters
lazyLayoutView |
The layout view object. |
---|---|
cell |
The cell that is being loaded. |
index |
The index of the cell that is being loaded. |
Discussion
Called when the cell at the given index was loaded.
Declared In
RBLazyLayoutView.h
– lazyLayoutView:cellWillUnload:atIndex:
Called when the cell at the given index will be unloaded.
- (void)lazyLayoutView:(nonnull RBLazyLayoutView *)lazyLayoutView cellWillUnload:(nonnull __kindof UIView *)cell atIndex:(NSUInteger)index
Parameters
lazyLayoutView |
The layout view object. |
---|---|
cell |
The cell that is being unloaded. |
index |
The index of the cell that is being unloaded. |
Discussion
Called when the cell at the given index will be unloaded.
Declared In
RBLazyLayoutView.h
– lazyLayoutView:cellDidUnload:atIndex:
Called when the cell at the given index was unloaded.
- (void)lazyLayoutView:(nonnull RBLazyLayoutView *)lazyLayoutView cellDidUnload:(nonnull __kindof UIView *)cell atIndex:(NSUInteger)index
Parameters
lazyLayoutView |
The layout view object. |
---|---|
cell |
The cell that is being unloaded. |
index |
The index of the cell that is being unloaded. |
Discussion
Called when the cell at the given index was unloaded.
Declared In
RBLazyLayoutView.h
– lazyLayoutViewWillReloadData:
Called when the layout view will reload it’s cells from the data source.
- (void)lazyLayoutViewWillReloadData:(nonnull RBLazyLayoutView *)lazyLayoutView
Parameters
lazyLayoutView |
The layout view object. |
---|
Discussion
Called when the layout view will reload it’s cells from the data source.
Declared In
RBLazyLayoutView.h
– lazyLayoutViewDidReloadData:
Called when the layout view has reloaded it’s cells from the data source.
- (void)lazyLayoutViewDidReloadData:(nonnull RBLazyLayoutView *)lazyLayoutView
Parameters
lazyLayoutView |
The layout view object. |
---|
Discussion
Called when the layout view has reloaded it’s cells from the data source.
Declared In
RBLazyLayoutView.h