commit | e9b86479540ee3a200ade154f907fac889865c72 | [log] [tgz] |
---|---|---|
author | Randall Li <randall.li@gmail.com> | Thu Dec 29 18:47:03 2016 |
committer | Adrian Secord <ajsecord@google.com> | Thu Dec 29 18:47:03 2016 |
tree | 7f935a319696ef2b36f700cd8cc19ebe21c569f6 | |
parent | 5faf83833c19512a754da38358c3f00270521888 [diff] |
Patch release to fix imports. (#4) * Bumped version to 1.1.0 * corrected headers in change log * fixed import for pod lib lint * Bumped version to 1.1.1
The Roboto Font Loader lazy loads the Roboto font.
To add this component to your Xcode project using CocoaPods, add the following to your Podfile
:
pod 'MDFRobotoFontLoader'
Then, run the following command:
pod install
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)