SMIFormSelectInput

Objective-C

@protocol SMIFormSelectInput <SMIFormInput>

Swift

protocol FormSelectInput : FormInput

Represents a selectable input on a form for single or multiple selections.

  • Determines whether this input allows for multiple selections.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL multipleSelection;

    Swift

    var multipleSelection: Bool { get }
  • A list of selectable options.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<id<SMIFormTitleOptionItem>> *_Nonnull optionItems;

    Swift

    var optionItems: [any FormInputOptionItem] { get }
  • The currently selected values for this input.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<id<SMIFormTitleOptionItem>> *value;

    Swift

    var value: [any FormInputOptionItem]? { get set }