Index

RBListView.h

Classes


RBListViewOption

An option for a list field.

Properties

The value of the item.
public value NSString? { get }

The display text of the item.
public displayText NSString? { get }

Functions

Initializes the list field item.
@param value : The value of the item.
@param displayText : The display text of the item.
@returns The initialized list field item.
- (nonnull instancetype)initWithValue:(nonnull NSString *)value displayText:(nonnull NSString *)displayText;


RBListView

A list field.

Properties

An array of RBListViewOption objects.
public options [RBListViewOption]? { get set }

The current selected item value.
public selectedValue NSString? { get set }

The current selected item display text.
public selectedDisplayText NSString? { get set }

Functions

Converts an array of strings to RBListViewOption options where the value and display text are the same.
@param strings : The list of strings to convert from.
@returns Array of RBListViewOption options.
+ (nonnull NSArray<RBListViewOption *> *)options:(nonnull NSArray<NSString *> *)strings;