Skip to content

TextKit – Line Numbers

This sample code demonstrates one way of displaying line numbers in an iOS7 UITextView. This sample makes use of iOS7’s Text Kit classes and can accomodate texts with varying fonts from one paragraph to another.

GitHub Repository

Screenshot