Code Monkey home page Code Monkey logo

icomoonkit's Introduction

IcoMoonKit

Carthage compatible

IcoMoonKit is an iconic font library written in Swift.

And, It provides code generator for vendor such an IcoMoon.

Requirement

  • Xcode 6.3+
  • iOS
    • 8.0+ (Available as a dynamic framework)
    • 7.0+ (Swift code is compatible)
  • OSX
    • Not yet supported.
  • Go, Ruby (If you want to use tools.)

Installation

Dynamic Framework

Carthage

  1. Add the following to your Cartfile: github "kaneshin/IcoMoonKit" ~> 0.1.
  2. Run carthage update.
  3. Add IcoMoonKit as an embedded framework.

Submodule

  1. Clone IcoMoonKit as a git submodule.
  2. Add IcoMoonKit.xcodeproj file into your Xcode project.
  3. Link IcoMoonKit.framework product for your target.
  4. Embed IcoMoonKit.framework.

Tools

IcoMoon Generator

Underconstructing, use ruby version instead of Go tool.

$ go get github.com/kaneshin/IcoMoonKit/tools/icom

Usage

Add generated code into your project if you use generator.

var feather = FeatherGlyph.AirPlay(size: 40, color: UIColor.whiteColor())
feather.color = UIColor.blackColor()
feather.backgroundColor = UIColor.whiteColor()

// As an image
imageView.image = feather.image(size: frame.size)

// An a text
label.attributedText = feather.attributedText

IcoMoon Generator

See tools/README.md.

License

The MIT License (MIT)

Author

Shintaro Kaneko [email protected]

icomoonkit's People

Contributors

kaneshin avatar

Stargazers

kodama kotaro avatar Francisco Javier Castañeda Ramos avatar Anthony Mittaz avatar cyper avatar  avatar Hiroshi Kimura avatar  avatar kodai.kaneko avatar  avatar  avatar Reyneiro Hernandez avatar Leonardo Lee avatar Tim Kersey avatar Carabineiro avatar

Watchers

Carabineiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.