TextCase

public enum TextCase : String, CaseIterable

Capitalization to be applied to user-facing text

  • None (do not modify text)

    Declaration

    Swift

    case none
  • Lowercase

    Declaration

    Swift

    case lowercase
  • Uppercase (ALL CAPS)

    Declaration

    Swift

    case uppercase
  • Capitalize (also known as Title Case)

    Declaration

    Swift

    case capitalize