Formatter

public protocol Formatter

Defines the interface for supporting conversion between strings and other types of values.

  • Primary method for converting an object to a string through formatting. Object will be converted to string according to the formatter’s implementation and init parameters. */

    Declaration

    Swift

    func stringFromValue(value: ValueType) -> String
  • Undocumented

    Declaration

    Swift

    public protocol Formatter