PTChoiceFormViewController
@interface PTChoiceFormViewController
: UIViewController <UITableViewDelegate, UITableViewDataSource>
Allows the user to interact with and set values of choice fields (list boxes).
-
The object that acts as the delegate of the ChoiceFormViewController.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<PTChoiceFormDataSource, UITableViewDelegate> delegate; -
The table view used by this view controller.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UITableView *_Nonnull tableView; -
The selected items of this view controller.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSMutableArray<NSNumber *> *_Nonnull selectedItems; -
Set to true if used on a choice field that is multi-select. The default is false.
Declaration
Objective-C
@property (nonatomic) BOOL isMultiSelect; -
Set to true if used on a choice field that is editable. The default is false.
Declaration
Objective-C
@property (nonatomic) BOOL isEditable; -
The text to use in a custom choice field.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *customFieldText;
PTChoiceFormViewController Class Reference