RBLayoutView Class Reference
Inherits from | RBBaseLayoutView : RBScrollView : UIScrollView |
---|---|
Declared in | RBLayoutView.h |
– pushCell:
Push a new cell to the layout view.
- (BOOL)pushCell:(nonnull __kindof UIView *)cell
Parameters
cell |
The cell to push to the layout view. |
---|
Return Value
Whether or not the operation was successful.
Discussion
Push a new cell to the layout view.
Declared In
RBLayoutView.h
– insertCell:atIndex:
Insert a new cell to the layout view at the given index.
- (BOOL)insertCell:(nonnull __kindof UIView *)cell atIndex:(NSUInteger)index
Parameters
cell |
The cell to insert to the layout view. |
---|---|
index |
The index at which to insert the cell. |
Return Value
Whether or not the operation was successful.
Discussion
Insert a new cell to the layout view at the given index.
Declared In
RBLayoutView.h
– popCell
Pop the last cell from the layout view.
- (BOOL)popCell
Return Value
Whether or not the operation was successful.
Discussion
Pop the last cell from the layout view.
Declared In
RBLayoutView.h
– removeCellAtIndex:
Remove the cell at the given index from the layout view.
- (BOOL)removeCellAtIndex:(NSUInteger)index
Parameters
index |
The index of the cell to remove. |
---|
Return Value
Whether or not the operation was successful.
Discussion
Remove the cell at the given index from the layout view.
Declared In
RBLayoutView.h
– removeCell:
Remove the given cell from the layout view.
- (BOOL)removeCell:(nonnull __kindof UIView *)cell
Parameters
cell |
The cell to remove from the layout view. |
---|
Return Value
Whether or not the operation was successful.
Discussion
Remove the given cell from the layout view.
Declared In
RBLayoutView.h
cells
The array of cells in the layout view.
@property (nonatomic, readonly, nonnull) NSArray<__kindofUIView*> *cells
Discussion
The array of cells in the layout view.
Declared In
RBLayoutView.h
– containsCell:
Whether or not the layout view contains the given cell.
- (BOOL)containsCell:(nonnull __kindof UIView *)cell
Parameters
cell |
The cell to check for. |
---|
Return Value
Whether or not the cell was found in the layout view.
Discussion
Whether or not the layout view contains the given cell.
Declared In
RBLayoutView.h
– indexOfCell:
Gets the index of the given cell in the layout view.
- (NSInteger)indexOfCell:(nonnull __kindof UIView *)cell
Parameters
cell |
The cell to find the index of. |
---|
Return Value
The index of the cell, or NSNotFound
if it was not found.
Discussion
Gets the index of the given cell in the layout view.
Declared In
RBLayoutView.h