RBLayoutGridPositionerSizing Constants Reference

Declared in RBLayoutGridPositioner.h

RBLayoutGridPositionerSizing

Commonly used sizing methods.

Definition

typedef NS_ENUM(NSInteger, RBLayoutGridPositionerSizing ) {
   RBLayoutGridPositionerSizingToSize,
   RBLayoutGridPositionerSizingToSizeSpaceEvenly,
   RBLayoutGridPositionerSizingToBounds,
   RBLayoutGridPositionerSizingToExpand,
};

Constants

RBLayoutGridPositionerSizingToSize

Cells are sized according to the size they request.

Declared In RBLayoutGridPositioner.h.

RBLayoutGridPositionerSizingToSizeSpaceEvenly

Cells are sized according to the size they request and spaced evenly in the unfixed orientation. e.g. for vertical orientation, cells will be spaced evenly across the whole width of the available space. e.g. for horizontal orientation, cells will be spaced evenly across the whole height of the available space.

Declared In RBLayoutGridPositioner.h.

RBLayoutGridPositionerSizingToBounds

Cells are sized uniformally to take up all the available space (bounds) that have been provided.

Declared In RBLayoutGridPositioner.h.

RBLayoutGridPositionerSizingToExpand

Cells are sized to fill all available space in the unfixed orientation. e.g. for vertical orientation, widths will expand to fit available space. e.g. for horizontal orientation, heights will expand to fit available space.

Declared In RBLayoutGridPositioner.h.

Declared In

RBLayoutGridPositioner.h