0

One of the most common problem faced by iOS developers is to change the font of all the UI elements in one go.

With the introduction of UIAppearance Protocol setting the font did become very convenient, since then I've been using appearance to achieve this.

I was going through this tutorial trying to understand Text Kit introduced in iOS 7. The tutorial uses subclass of NSTextStorage to beautifully format the text.

Now I was just wondering if it is possible to change the font of UI elements by subclassing the NSTextStorage. I spend few hours trying to figure out where to start from but couldn't achieve anything so far. I appreciate if any one can give me a hint to where to start from and some tips to get this done.

I welcome all your suggestions and views on this.

Viper
  • 1,408
  • 9
  • 13
Aditya Mathur
  • 1,185
  • 17
  • 27

0 Answers0