NSLineBreakMode.byTruncatingMiddle
The value that indicates that a line displays so that the beginning and end fit in the container and an ellipsis glyph indicates the missing text in the middle.
Declaration
case byTruncatingMiddleDiscussion
Use this mode for single-line layout; using it with multiline text truncates the text into a single line.