samvermette/SVProgressHUD — pull request #57 by hiltonc (2012-02-21 19:02:29+00:00)
Title: Ability to set label font

In an app I'm building I wanted to be able to change the font. This is the most straightforward way I could think of.

What I was hoping to be able to do was subclass SVProgressHUD and do the font changes in my subclass. However, because all the methods are static on the SVProgressHUD I couldn't find a way to do it. So another way of enabling people to change the font or make any number of other customizations would be to provide a static setSharedProgressHUD: method, similar to NSURLCache's setSharedURLCache:. I would then be able to instantiate my subclass, set it as the shared instance, and all the original methods would work as designed.