Delegate for the SDLChoiceSet. Contains methods that get called when an action is taken on a choice cell.
Delegate method called after a choice set item is selected
- (void)choiceSet:(nonnull SDLChoiceSet *)choiceSet
didSelectChoice:(nonnull SDLChoiceCell *)choice
withSource:(nonnull SDLTriggerSource)source
atRowIndex:(NSUInteger)rowIndex;
func choiceSet(_ choiceSet: SDLChoiceSet, didSelectChoice choice: SDLChoiceCell, withSource source: SDLTriggerSource, atRowIndex rowIndex: UInt)
The choice set displayed
The item selected
The trigger source
The row of the selected choice
Delegate method called on an error
- (void)choiceSet:(nonnull SDLChoiceSet *)choiceSet
didReceiveError:(nonnull NSError *)error;
func choiceSet(_ choiceSet: SDLChoiceSet, didReceiveError error: Error)
The choice set
The error