Brings Lato font to iOS.
Source code of this project is available under the standard MIT license. Please see the license file.
Lukasz Dziedzic holds copyright to the Lato font which is licensed under the SIL Open Font License.
#import <LatoFont/UIFont+Lato.h>
@implementation ExampleVC
- (void)viewDidLoad {
[super viewDidLoad];
CGFloat size = 17.0;
self.hairlineLabel.font = [UIFont latoHairlineFontOfSize:size];
self.hairlineItalicLabel.font = [UIFont latoHairlineItalicFontOfSize:size];
self.lightLabel.font = [UIFont latoLightFontOfSize:size];
self.lightItalicLabel.font = [UIFont latoLightItalicFontOfSize:size];
self.regularLabel.font = [UIFont latoFontOfSize:size];
self.italicLabel.font = [UIFont latoItalicFontOfSize:size];
self.boldLabel.font = [UIFont latoBoldFontOfSize:size];
self.boldItalicLabel.font = [UIFont latoBoldItalicFontOfSize:size];
self.blackLabel.font = [UIFont latoBlackFontOfSize:size];
self.blackItalicLabel.font = [UIFont latoBlackItalicFontOfSize:size];
}
@end