EnterpriseDS Documentation

Class DSSelect​Option

@objc public class DSSelectOption: NSObject  

Represents a valid option to be selected in a DSSelectTableViewCell.

DSSelectOption DSSelectOption NSObject NSObject DSSelectOption->NSObject

Conforms To

NSObject

Initializers

init(data:​label:​)

public init(data: String, label: String)  

Properties

data

public private(set) var data: String

The data that represents the value (for models, services, etc.)

label

public private(set) var label: String

The label that represents a human-presentable version of the data (for public display in UI)

Methods

is​Equal(_:​)

public override func isEqual(_ object: Any?) -> Bool