0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
RubyMotion wrapper around FontAwesomeKit
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

 Project Readme

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