BCPickerField Class Reference
Inherits from | BCAbstractField : NSObject |
Conforms to | UIPickerViewDataSource UIPickerViewDelegate UITextFieldDelegate |
Declared in | BCPickerField.h |
Tasks
-
displayField
The field used to display an option value – must return an NSString. If this value is nil, ‘description’ will be used.
property -
– cell
Returns the created cell instance.
-
– addOption:
Adds an option.
-
– addOptions:
Adds options.
-
– setOptions:
Sets options to the contents of the supplied array (erasing any previous options).
Properties
displayField
The field used to display an option value – must return an NSString. If this value is nil, ‘description’ will be used.
@property (nonatomic) SEL displayField
Discussion
The field used to display an option value – must return an NSString. If this value is nil, ‘description’ will be used.
Declared In
BCPickerField.h
Instance Methods
addOption:
Adds an option.
- (void)addOption:(id<NSObject>)option
Discussion
Adds an option.
Declared In
BCPickerField.h
addOptions:
Adds options.
- (void)addOptions:(NSArray *)options
Discussion
Adds options.
Declared In
BCPickerField.h