One Logo Pool Ball
Foundation · IOS API REFERENCE

StringStyle

struct · iOS 15.0+ · SDK 27.1

struct StringStyle

Members (1)

method · iOS 15.0+

format

TypeScript
format(value: string): string
Swift declaration
func format(_ value: String) -> String

Formats a value, using this style. Use this method when you want to create a single style instance, and then use it to format multiple values. - Parameter value: The value to format. - Returns: A representation of `value`, in the ``FormatOutput`` type, formatted according to the style's configuration.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →