TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | Apache 2 |
ReleasedLast Release | Mar 2017 |
Maintained by Randall Li, Robert Moore, Jeff Verkoeyen.
The Roboto Font Loader lazy loads the Roboto font.
The Roboto Font Loader provides APIs for getting the Roboto Fonts. Consider using the Typography Material Component for iOS font styles recommended by Material spec.
Before using Roboto Font Loader, you'll need to import it:
#import "MaterialRobotoFontLoader.h"
import MDFRobotoFontLoader
The Roboto Font Loader Component depends on the FontDiskLoader Component.
UIFont *font = [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:16];
let myFont:UIFont = MDFRobotoFontLoader.sharedInstance()regularFontOfSize(16)