EnterpriseDS Documentation

Protocol DSSelect​Table​View​Cell​Delegate

@objc public protocol DSSelectTableViewCellDelegate  

A delegate that is notified of various events that occur from DSSelectTableViewCell.

Optional Requirements

select​Value​Did​Change(_:​value:​)

@objc optional func selectValueDidChange(_ selectCell: DSSelectTableViewCell, value: DSSelectOption?) 

Called when a value is changed/selected in the options screen.

Parameters

select

The DSSelectTableViewCell the value changed for

value DSSelect​Option?

The new value

select​Should​Update​Validation​Appearance(_:​)

@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

select

The DSSelectTableViewCell being referred to