RBBaseLayoutViewDelegate Protocol Reference

Conforms to NSObject
RBScrollViewDelegate
Declared in RBBaseLayoutView.h

Overview

A delegate to be informed of cell positioning and appearance events.

– 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:(NSInteger)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.

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:(NSInteger)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.

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:(NSInteger)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.

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:(NSInteger)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.

Declared In

RBBaseLayoutView.h

– layoutView:cellWillDisappear:withIndex:

Called when a cell will disappear.

- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellWillDisappear:(nonnull __kindof UIView *)view withIndex:(NSInteger)index

Parameters

layoutView

The layout view object.

view

The view of the cell.

index

The index of the cell in the layout view.

Declared In

RBBaseLayoutView.h

– layoutView:cellDidDisappear:withIndex:

Called when a cell did disappear.

- (void)layoutView:(nonnull RBBaseLayoutView *)layoutView cellDidDisappear:(nonnull __kindof UIView *)view withIndex:(NSInteger)index

Parameters

layoutView

The layout view object.

view

The view of the cell.

index

The index of the cell in the layout view.

Declared In

RBBaseLayoutView.h