Skip to content

Shows use of custom fonts. A simple wrapper for UIFont so that custom fonts can be used in storyboard.

Notifications You must be signed in to change notification settings

alexmedearis/SimpleFontWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleFontWrapper

Illustrates use of the CustomFontLabel class, a simple UILabel subclass to quickly apply custom fonts in interface builder.

Version

1.0

Installation

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

License

Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0

About

Shows use of custom fonts. A simple wrapper for UIFont so that custom fonts can be used in storyboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published