A library for easily adding GitHub's Octicons to your iOS projects.
This project is heavily based on ios-fontawesome.
It uses the Octicon icons which are distributed under the Apache license with the GitHub Android app.
UIImage *image = [UIImage octicon_imageWithIcon:@"GitPullRequest"
backgroundColor:[UIColor whiteColor]
iconColor:[UIColor darkGrayColor]
iconScale:1.0
andSize:CGSizeMake(150.0F, 150.0F)];
The easiest way to install OcticonsIOS is with CocoaPods. Just add the following to your Podfile:
pod 'OcticonsIOS', '~> 0.0.3'
Add the custom font to your Xcode project: in the application plist ([appname]-Info.plist), create a new row called "Fonts provided by application" and set the value to octicons.ttf
.