Enumeration

NSTextTabType

These constants describe the various type of tab stop.

Declaration

typedef enum NSTextTabType : NSUInteger {
    ...
} NSTextTabType;

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

NSLeftTabStopType

A left-aligned tab stop.

NSRightTabStopType

A right-aligned tab stop.

NSCenterTabStopType

A center-aligned tab stop.

NSDecimalTabStopType

Aligns columns of numbers by the decimal point.