Protocol
DSSelectTableViewCellDelegate
@objc public protocol DSSelectTableViewCellDelegate
A delegate that is notified of various events that occur from DSSelectTableViewCell.
Optional Requirements
selectValueDidChange(_:value:)
@objc optional func selectValueDidChange(_ selectCell: DSSelectTableViewCell, value: DSSelectOption?)
Called when a value is changed/selected in the options screen.
Parameters
Name | Type | Description |
---|---|---|
select | The DSSelectTableViewCell the value changed for |
|
value | DSSelectOption? |
The new value |
selectShouldUpdateValidationAppearance(_:)
@objc optional func selectShouldUpdateValidationAppearance(_ selectCell: DSSelectTableViewCell) -> Bool
Called to determine if validations should be processed or ignored.
-
returns True if validations should be processed, false to ignore them for now
Parameters
Name | Type | Description |
---|---|---|
select | The DSSelectTableViewCell being referred to |