November 16, 2013

Steve Jobs will always be known for introducing a handful of break through products. The iPhone and iPad have drastically changed the way millions of people interact with technology. While this is interesting, Steve's other, overlooked contribution of beautiful type is often overlooked.

iOS 7 introduced Text Kit. Text Kit brings powerful text management from OS X to the iOS world. One such carry over is the NSLayoutManager class. NSLayoutManager allows developers to concentrate on how users perceive the content rather than dedicating time to rolling his or her own text layout engine. One of the cool things that NSLayoutManager allows you to do, is to associate more than one NSTextConatiner to it. Two column layouts can easily be written by doing just that. NSLayoutManager will calculate how much text will fit in your first conatianer and automatically flow it into the second.