Text Display and Fonts

Use UIKit views to display text, manage fonts, and check spelling.



class NSLayoutManager

An object that coordinates the layout and display of characters held in an NSTextStorage object.

protocol NSLayoutManagerDelegate

A set of optional methods implemented by delegates of NSLayoutManager objects.

protocol NSTextLayoutOrientationProvider

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

Text Views

class UILabel

A view that displays one or more lines of read-only text, often used in conjunction with controls to describe their intended purpose.

class UITextField

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

class 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.


class UIFont

The interface for getting and setting font information.

class UIFontDescriptor

A mechanism to describe a font with a dictionary of attributes.

struct UIFontDescriptorSymbolicTraits

A symbolic description of the stylistic aspects of a font.

protocol UIContentSizeCategoryAdjusting

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

class UIFontMetrics

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

Spell Checking

class UITextChecker

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

See Also


Text Storage

Manage text storage, and coordinate the layout of text.

Keyboards and Input

Configure the system keyboard, or create your own keyboards and handle input yourself.