Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

RobertAudi/motion-iconic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motion::Iconic

RubyMotion wrapper around FontAwesomeKit.

Installation

Add this line to your application's Gemfile:

gem "motion-iconic"

And then execute:

$ bundle

Dependencies

Motion::Iconic depends on FontAwesomeKit as a CocoaPod. You do not need to add anything to your Rakefile, but you do need to run rake pod:install.

Usage

Motion::Iconic::Icon.awesomeIcon(:codeFork, withSize:42)

That's quite a mouthful... So Motion::Iconic::Icon is also aliased to Mic.

Mic.foundationIcon(:socialGithub, withSize:73)

Here is the full list of implemented methods:

  • Mic.icon(icon, withSize:size, inCollection:collection) — returns an FAK* instance.
  • Mic.awesomeIcon(icon, withSize:size) — returns an FAKFontAwesome instance.
  • Mic.foundationIcon(icon, withSize:size) — returns an FAKFoundationIcons instance.
  • Mic.ionIcon(icon, withSize:size) — returns an FAKIonIcons instance.
  • Mic.zocialIcon(icon, withSize:size) — returns an FAKZocial instance.

For information on what you can do with those objects, refer to the FontAwesomeKit documentation.

Contributing

  1. Fork it ( http://github.com/AzizLight/motion-iconic/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

RubyMotion wrapper around FontAwesomeKit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages