First part All right, the person who found this article already know something about TextKit, so I won’t annoy you with this principles and basic stuff which you can google in a couple of minutes, meanwhile I’ll put you right into the seeking solution. Let’s start from the NSLayoutManager custom implementation: class…