Motion Template is a strightforward clean RubyMotion template for loading useful gems and skinned UI items. It's an excellent starting point for building your RubyMotion application. Simply strip out the features you don't need, and start implementing your app on this robust RM template!
You can use this template straight off github if you have RubyMotion >= 2.3 (if repo already exists it will do a git pull
)
$ motion create --template=git@github.com:IconoclastLabs/MotionTemplate.git <myappname>
The motion-rubberstamp gem relies on imagemagick and ghostscript, which can easily be installed via Homebrew:
$ brew install imagemagick
$ brew install ghostscript
Otherwise you'll need to comment out this gem.
- Teacup v2 - DSL for CSS-esque styling.
- Bubblewrap - A collection of (tested) helpers and wrappers used to wrap CocoaTouch code and provide more Ruby like APIs.
- Sugarcube v1rc - Simplification and shortcuts for iOS annoyances and verbosity.
- Sweettea - Coercion and further Sugarcube magic/shortcuts in Teacup's DSL via Handlers.
- Motion Awesome Print - Awesome print
ap
for RubyMotion. Colorized, Multi-line, Detailed print inspection. - Motion Awesome - The impressive icon set of Font-Awesome imported and ready to use inside of your Motion Project.
- Motion-Rubberstamp - Run
rake rubberstamp:run
to stamp your versions right onto your icons for dev!
- Splash Screen - Implemented Splash screen logic, ready to go!
- iOS 6 Autolayout - Using Auto Layout via Teacup's constrains to help the UI to flow and scale as needed.
- AppProperties Class - The rakefile has been generalized and most configurations are in the
app_properties.rb
for clarity. Don't forget to point provisioning to a symlink (allowing multiple users for the same source). - Custom UI Skins - Using custom styling so you can quickly change the application flavor.
- Base Leather
- Basic
- More to come!? Fork us!
- SocialNetwork Share - Share content to SocialFramework items straight from your app.
Change the style in AppProperties
so you can implement multiple themes.
- Requires RubyMotion 2.0 (see Tag for rubymotion 1.x if you are not 2.0 - Not a template just a project)
- This is a RubyMotion Project with all dependencies listed in the Gem file.
- iOS 7 or greater is mandatory (see Tag for iOS6 if you are not aiming for iOS7
- imagemagick and ghostscript Are needed if you plan on using Motion-Rubberstamp to stamp your icons.
The graphical assets are not permitted for redistribution. We bought the license to use them here, and their extraction or reuse is not permitted under our purchase license.
The code is completely open under MIT License.
See LICENSE file for full details.
As always we're opent to pull requests/issues!
Special thanks to Colin T.A. Gray for answering questions and writing/maintaining some of the key gems in this project.
The outdated but original blog post on this Template can be found here: Blog on the original template: http://iconoclastlabs.com/cms/blog/posts/rubymotion-template
If you'd like to send inquiries, compliments or criticisms you can find us here