TextTransform

public struct TextTransform : RawRepresentable, Codable, Hashable

Specifies how to capitalize text, similar to the CSS text-transform property.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • The text is not altered.

    Declaration

    Swift

    public static let none: TextTransform
  • Forces all letters to be displayed in uppercase.

    Declaration

    Swift

    public static let uppercase: TextTransform
  • Forces all letters to be displayed in lowercase.

    Declaration

    Swift

    public static let lowercase: TextTransform