Text Display and Fonts

Display text, manage fonts, and check spelling.

Topics

Layout

NSLayoutManager

An object that coordinates the layout and display of text characters.

NSLayoutManagerDelegate

A set of optional methods implemented by delegates of layout manager objects.

NSTextLayoutOrientationProvider

A set of methods that define the orientation of text for an object.

Text Views

UILabel

A view that displays one or more lines of informational text.

UITextField

An object that displays an editable text area in your interface.

UITextView

A scrollable, multiline text region.

Drag and Drop Customization

Extend the standard drag and drop support for text views to include custom types of content.

Fonts

Scaling Fonts Automatically

Scale text in your interface automatically by using Dynamic Type.

Adding a Custom Font to Your App

Add a custom font to your app and use it in your app’s interface.

UIFont

A font object.

UIFontDescriptor

A collection of attributes that describe a font.

UIFontDescriptorSymbolicTraits

A symbolic description of the stylistic aspects of a font.

UIContentSizeCategoryAdjusting

A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.

UIFontMetrics

A utility object for obtaining custom fonts that scale to support Dynamic Type.

Font Picker

UIFontPickerViewController

A view controller that manages the interface for selecting a font provided by the system or installed by the user.

UIFontPickerViewControllerDelegate

A set of optional methods for receiving messages about the user’s interaction with the font picker.

UIFontPickerViewControllerConfiguration

The filters and display settings a font picker view controller uses to set up a font picker.

Spell Checking

UITextChecker

An object you use to check a string (usually the text of a document) for misspelled words.

See Also

Text

Text Storage

Manage text storage, and coordinate the layout of text.

Keyboards and Input

Configure the system keyboard, create your own keyboards to handle input, or detect key presses on a physical keyboard.