A library for easily adding GitHub's Octions to your iOS projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OcticonsIOS.xcodeproj
OcticonsIOS
OcticonsIOSTests
.gitignore
LICENSE
OcticonsIOS.podspec
README.md

README.md

OcticonsIOS

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.

Examples

	UIImage *image = [UIImage octicon_imageWithIcon:@"GitPullRequest"
                                        backgroundColor:[UIColor whiteColor]
                                              iconColor:[UIColor darkGrayColor]
                                              iconScale:1.0
                                                andSize:CGSizeMake(150.0F, 150.0F)];

Installation

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.