Enumeration

NSParagraphStyle.TextTabType

These constants describe the various type of tab stop.

Declaration

enum TextTabType : UInt

Overview

The following mappings define the conversions between text alignment in NSTextTab and tab stop types defined by NSTextTab:

Alignment

Tab Stop Type

NSLeftTextAlignment

NSLeftTabStopType

NSRightTextAlignment

NSRightTabStopType

NSCenterTextAlignment

NSCenterTabStopType

NSJustifiedTextAlignment

NSLeftTabStopType

NSNaturalTextAlignment

NSLeftTabStopType or NSRightTabStopType, depending on the user setting

NSRightTextAlignment with terminator

NSDecimalTabStopType

Topics

Constants

case leftTabStopType

A left-aligned tab stop.

case rightTabStopType

A right-aligned tab stop.

case centerTabStopType

A center-aligned tab stop.

case decimalTabStopType

Aligns columns of numbers by the decimal point.