Instance Property

smartDashesType

The configuration state for smart dashes.

Declaration

@property(nonatomic) UITextSmartDashesType smartDashesType;

Discussion

Use this property to configure whether UIKit converts two hyphens into an en-dash and three hyphens into an em-dash automatically. The default value of this property is UITextSmartDashesTypeDefault, which selectively enables smart dashes based on the keyboard type.

See Also

Configuring the Auto-Formatting Behaviors

smartQuotesType

The configuration state for smart quotes.

UITextSmartQuotesType

Constants indicating whether smart quotes are enabled or disabled.

UITextSmartDashesType

Constants for specifying the automatic conversion behavior between hyphens and en or em dashes.

smartInsertDeleteType

The configuration state for the smart insertion and deletion of space characters.

UITextSmartInsertDeleteType

Constants for specifying whether extra spaces are automatically inserted after a paste operation or deleted after a cut or delete operation.