RSDPickerDataSource

public protocol RSDPickerDataSource

RSDPickerDataSource includes information that can be used to build a picker UI element.

  • Returns the text answer to display for a given selected answer.

    Declaration

    Swift

    func textAnswer(from selectedAnswer: Any?) -> String?

    Parameters

    selectedAnswer

    The answer to convert.

    Return Value

    A text value for the answer to display to the user.