String

extension String
  • Applies a text case to the string.

    Declaration

    Swift

    public func textCase(_ textCase: Typography.TextCase) -> String

    Parameters

    textCase

    the text case to apply

    Return Value

    the updated string