RBBaseLayoutViewDelegate Protocol Reference
Conforms to | NSObject RBScrollViewDelegate |
---|---|
Declared in | RBBaseLayoutView.h |
– layoutView:cellWillPosition:withIndex:withFrame:
Called when a cell will be positioned with a new frame.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellWillPosition:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index withFrame:(CGRect)frame
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
frame |
The new frame being applied to the cell. |
Discussion
Called when a cell will be positioned with a new frame.
Declared In
RBBaseLayoutView.h
– layoutView:cellDidPosition:withIndex:withFrame:
Called when a cell was positioned with a new frame.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellDidPosition:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index withFrame:(CGRect)frame
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
frame |
The new frame being applied to the cell. |
Discussion
Called when a cell was positioned with a new frame.
Declared In
RBBaseLayoutView.h
– layoutView:cellWillAppear:withIndex:withFrame:
Called when a cell will appear.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellWillAppear:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index withFrame:(CGRect)frame
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
frame |
The frame that the cell is appearing with. |
Discussion
Called when a cell will appear.
Declared In
RBBaseLayoutView.h
– layoutView:cellDidAppear:withIndex:withFrame:
Called when a cell did appear.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellDidAppear:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index withFrame:(CGRect)frame
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
frame |
The frame that the cell is appearing with. |
Discussion
Called when a cell did appear.
Declared In
RBBaseLayoutView.h
– layoutView:cellWillDisappear:withIndex:
Called when a cell will disappear.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellWillDisappear:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
Discussion
Called when a cell will disappear.
Declared In
RBBaseLayoutView.h
– layoutView:cellDidDisappear:withIndex:
Called when a cell did disappear.
- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellDidDisappear:(nonnull __kindof UIView *)view withIndex:(NSUInteger)index
Parameters
layoutView |
The layout view object. |
---|---|
view |
The view of the cell. |
index |
The index of the cell in the layout view. |
Discussion
Called when a cell did disappear.
Declared In
RBBaseLayoutView.h