CFNumberFormatterSetFormat(_:_:)
Sets the format string of a number formatter.
Declaration
func CFNumberFormatterSetFormat(_ formatter: CFNumberFormatter!, _ formatString: CFString!)Parameters
- formatter:
The number formatter to modify.
- formatString:
The format string to be used by
formatter. See TP40002342 for more information.
Discussion
The format string may override other properties previously set using other functions. If this function is not called, the default value of the format string is derived from the number formatter’s style.