- Notifications
You must be signed in to change notification settings - Fork144
ProMotion is a RubyMotion gem that makes iPhone development less like Objective-C and more like Ruby.
License
jamonholmgren/ProMotion
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ProMotion was created by me, Jamon Holmgren. While you're welcome to use ProMotion, please note that it's no longer maintained!
(And yes -- I created it long beforeApple launched their own ProMotion.)
ProMotion is a RubyMotion gem that makes iOS development more like Ruby and less like Objective-C.It introduces a clean, Ruby-style syntax for building screens that is easy to learn and remember andabstracts a ton of boilerplate UIViewController, UINavigationController, and other iOS code into asimple, Ruby-like DSL.
# app/app_delegate.rbclassAppDelegate <PM::Delegatestatus_bartrue,animation::fadedefon_load(app,options)openRootScreenendend# app/screens/root_screen.rbclassRootScreen <PM::Screentitle"Root Screen"nav_bartruedefon_loadset_nav_bar_button:right,title:"Help",action::open_help_screenenddefopen_help_screenopenHelpScreenendend# app/screens/help_screen.rbclassHelpScreen <PM::TableScreentitle"Table Screen"deftable_data[{title:"Help",cells:[{title:"About this app",action::tapped_about},{title:"Log out",action::log_out}]}]enddeftapped_about(args={})openAboutScreenenddeflog_out# Log out!endend
| Screens | Navigation Bars | Tab Bars |
|---|---|---|
![]() | ![]() | ![]() |
| Table Screens | Grouped Tables | Searchable | Refreshable |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| SplitScreens | Map Screens | Web Screens |
|---|---|---|
![]() | ![]() | ![]() |
- Check out theGetting Started Guide
- Watch the excellentMotionInMotion screencast about ProMotion (note: no longer active.
very reasonably priced subscription required) - Follow a tutorial:Building an ESPN app using RubyMotion, ProMotion, and TDD
- Read theDocumentation
Open a pull request! We love adding new ProMotion-built apps.
We have comprehensive documentation with code examples, usage examples, and API reference.
- Watch Jamon Holmgren give a talk about ProMotion atRubyMotion #inspect2014 (video)
- Watch theSeptember 2013 Motion Meetup where Gant Labordeinterviews Jamon Holmgren about ProMotion
We're no longer supporting ProMotion and it's mostly retired. If you need help, feel free to file an issue, but I may not see it.
SeeCONTRIBUTING.md.
- Jamon Holmgren:@jamonholmgren
- Andrew Havens:@misbehavens
- Mark Rickert:@markrickert
- Ryan Linton:@ryanlntn
- Silas Matson:@silasjmatson
- David Larrabee:@squidpunch
About
ProMotion is a RubyMotion gem that makes iPhone development less like Objective-C and more like Ruby.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.









