|Inherits from||SFormField : NSObject|
Represents the underlying model for a picker field.
value property of this class is an
NSArray containing the indicies (represented as an
NSNumber) of the selected components in the picker. There can be multiple incidies because a picker can have multiple columns.
This class is compatible with validators that conform to
NSArrays that contain the options for a picker.
@property (nonatomic, strong) NSArray *options
NSArray inside of the ‘options’ array should contain values to be displayed in the picker. These values can be either a
NSString, or a
Create a picker field with the given options.
- (instancetype)initWithTitle:(NSString *)title options:(NSArray *)options
The field’s title.
The options to initialize the field with.
This is the designated initializer.