Skip to content

parakeety/GoogleFontsiOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoogleFontsiOS CocoaPods CocoaPods CocoaPods

GoogleFontsiOS is a collection of CococPods subspec encapsulating Google Fonts.

Installation

Each fonts are encapsulated as a subspec. For example, if you'd like to install ABeeZee, write as below in your Podfile.

pod 'GoogleFontsiOS/ABeeZee'

Installing all the fonts will take a lot of time and is not recommended.

Usage

Each font has a corresponding header and implementaton file in the form of UIFont category.

#import <UIKit/UIKit.h>
@interface UIFont (ABeeZee)

+ (instancetype)aBeeZeeItalicFontOfSize:(CGFloat)size;
+ (instancetype)aBeeZeeRegularFontOfSize:(CGFloat)size;

@end
UIFont *font = [UIFont aBeeZeeRegularFontOfSize:12.0f];

License

The code itself is under MIT License. The fonts belong to their respective owners and are under corresponding licenses.

Contribution

Pull Requests are welcome, especially for ruby codes in CodeGenerator directory, as I'm new to ruby.

About

Google Fonts wrapped as Pod to use in iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published