BreakMode

public enum BreakMode : Int

Specifies the text break mode.

  • Breaks the text at a suitable opportunity as determined by the Unicode Line Breaking Algorithm.

    Declaration

    Swift

    case character = 0
  • Breaks the text at a grapheme cluster boundary.

    Declaration

    Swift

    case line = 1