Illustrates use of the CustomFontLabel class, a simple UILabel subclass to quickly apply custom fonts in interface builder.
1.0
CustomFontLabel:
- Copy CustomFontLabel.h/.m into your project
- Add custom font to project
- Add your font to yourproject.plist
- Make sure that the font is copied into the project bundle
- Modify CustomFontLabel.m to use your custom font
- In interface builder, apply CustomFontLabel to labels which should use the custom font.
Demo:
git clone [git-repo-url] SimpleFontWrapper
cd SimpleFontWrapper
open SimpleFontWrapper.xcodeproj
Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0