RSDRangeWithFormatter
public protocol RSDRangeWithFormatter : RSDRange
RSDRangeWithFormatter
is an optional extension of the range that can be used to extend the range
to include a formatter appropriate to the UI. For example, this could be used to describe a number
range that displays currency.
-
A formatter that is appropriate to the data type. If
nil
, the format will be determined by the UI. This is the formatter used to display a previously entered answer to the user or to convert an answer entered in a text field into the appropriate value type.Declaration
Swift
var formatter: Formatter? { get set }