Index

RBMenuView.h

Protocols

Classes


RBMenuView

A segmented menu of buttons.

Properties

A delegate to receive button selection events.
public weak delegate RBMenuViewDelegate? { get set }

An array of RBMenuSegmentSchema objects.
public segmentItems [RBMenuSegmentSchema]? { get set }

The overall layout positioner used. You may theme this positioner. Default values = spacing = 0, dimensions = 1, margin = [0, 0, 0, 0], orientation = RBOrientationVertical, sizing = RBGridPositionerSizeEvenly.
public positioner RBGridPositioner { get }

Functions

Gets the segment view with the given identifier.
@param segmentIdentifier : The name of the segment.
@returns The RBMenuSegmentView object.
- (nullable RBMenuSegmentView *)segmentViewWithIdentifier:(nonnull NSString *)segmentIdentifier;