Formatter
public protocol Formatter
Formatter defines the function to format a string.
Version
1.10.0Date
13/07/22-
Format the value to a more user friendly one
Declaration
Swift
func format(_ value: String) -> StringParameters
valueThe current value
Return Value
The formatted value
-
Remove any formatting applied and get the original value
Declaration
Swift
func removeFormatting(_ value: String) -> StringParameters
valueThe formatted value
Return Value
The original value
Formatter Protocol Reference