deni2s/IBCustomFonts — pull request #6 by rdignard08 (2014-05-12 20:10:05+00:00)
Title: switch to +initialize from +load; use standard_swizzle() for swizzling

1. +initialize provides the runtime improvement of not necessarily
being front loaded; generally with objective c the later the binding
the better.
2. Use dispatch_once to guarantee the methods are only swizzled once
(weird things might happen if the project has a UIFont subclass).
3. standard_swizzle() is practically ubiquitous at this point, no need
to reinvent the wheel
4. Also I put the bundle key in a const string in case the key may
later conflict with something else (plus it’s better to expose the
variable name than the actual string)