O'Reilly logo

Learning iOS UI Development by Yari D'areglia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with Dynamic Type

With the introduction of iOS 7, the way we work with text has greatly improved. The whole iOS structure has been refined to make it easier for us to complete complex tasks with the help of an easier-to-use framework: Text Kit. The main controls based on text, such as UILabel, UITextField, and UITextView are defined at the top of Text Kit.

Before iOS 7, the only way to handle text layout was working with Web views or text core, a really complex framework that is still at the base of the text drawing. Fortunately, thanks to Text Kit, you are much less likely to work directly with it now.

We won't explore Text Kit in detail here, but we will definitely talk about one of its features that is closely related to adaptive layouts: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required