RBMultipleChoiceFieldOption Class Reference

Inherits from NSObject
Declared in RBMultipleChoiceField.h

Overview

An item for a multiple choice field.

  value

The value of the item.

@property (nonatomic, readonly, nonnull) NSString *value

Declared In

RBMultipleChoiceField.h

  displayText

The display text of the item.

@property (nonatomic, readonly, nullable) NSString *displayText

Declared In

RBMultipleChoiceField.h

  displayImage

The display image of the item.

@property (nonatomic, readonly, nullable) UIImage *displayImage

Declared In

RBMultipleChoiceField.h

– initWithValue:displayText:

Initializes the item.

- (nonnull instancetype)initWithValue:(nonnull NSString *)value displayText:(nonnull NSString *)displayText

Parameters

value

The value of the item.

displayText

The display text of the item.

Return Value

The initialized item.

Declared In

RBMultipleChoiceField.h

– initWithValue:displayText:displayImage:

Initializes the item.

- (nonnull instancetype)initWithValue:(nonnull NSString *)value displayText:(nullable NSString *)displayText displayImage:(nullable UIImage *)displayImage

Parameters

value

The value of the item.

displayText

The display text of the item.

displayImage

The display image of the item.

Return Value

The initialized item.

Declared In

RBMultipleChoiceField.h