SMIChoiceListValue

Objective-C

@protocol SMIChoiceListValue <NSObject>

Swift

protocol ChoiceListValue : NSObjectProtocol

Represents a choice list value.

  • The ID of the choice list value.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull valueId;

    Swift

    var valueId: String { get }
  • The order of the choice list value.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger order;

    Swift

    var order: UInt { get }
  • The label of the choice list value.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *label;

    Swift

    var label: String? { get }
  • Determines if the value is the default value for the choice list.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isDefaultValue;

    Swift

    var isDefaultValue: Bool { get }
  • The field name of the choice list value.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull valueName;

    Swift

    var valueName: String { get }