Skip to content

jacksonh/OcticonsIOS

Repository files navigation

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.

About

A library for easily adding GitHub's Octions to your iOS projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •