Type Property

defaultParagraphStyle

Returns the default paragraph style.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(class, readonly, copy, nonatomic) NSParagraphStyle *defaultParagraphStyle;
macOS
@property(class, readonly, copy) NSParagraphStyle *defaultParagraphStyle;

Discussion

The default paragraph style has the following default values:

Subattribute

Default Value

Alignment

NSNaturalTextAlignment

Tab stops

12 left-aligned tabs, spaced by 28.0 points

Line break mode

NSLineBreakByWordWrapping

All others

0.0

See individual method descriptions for explanations of each subattribute.