RBMenuView Class Reference

Inherits from UIView
Declared in RBMenuView.h

Overview

A segmented menu of buttons.

  delegate

A delegate to receive button selection events.

@property (nonatomic, weak, nullable) id<RBMenuViewDelegate> delegate

Declared In

RBMenuView.h

  segmentItems

An array of RBMenuSegmentSchema objects.

@property (nonatomic, nullable) NSArray<RBMenuSegmentSchema*> *segmentItems

Declared In

RBMenuView.h

  positioner

The overall layout positioner used. You may theme this positioner. Default values = spacing = 0, dimensions = 1, margin = [0, 0, 0, 0], orientation = RBOrientationVertical, sizing = RBLayoutGridPositionerSizeEvenly.

@property (nonatomic, nonnull, readonly) RBLayoutGridPositioner *positioner

Declared In

RBMenuView.h

– segmentViewWithIdentifier:

Gets the segment view with the given identifier.

- (nullable RBMenuSegmentView *)segmentViewWithIdentifier:(nonnull NSString *)segmentIdentifier

Parameters

segmentIdentifier

The name of the segment.

Return Value

The RBMenuSegmentView object.

Declared In

RBMenuView.h