mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-04-30 13:12:19 +08:00
Added Motion Meetup link
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
# ProMotion [](https://travis-ci.org/clearsightstudio/ProMotion) [](https://codeclimate.com/github/clearsightstudio/ProMotion)
|
||||
|
||||
## A new way to easily build RubyMotion apps.
|
||||
## iPhone Apps, Ruby-style
|
||||
|
||||
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 and
|
||||
abstracts a ton of boilerplate UIViewController, UINavigationController, and other iOS code into a
|
||||
simple, Ruby-like DSL.
|
||||
|
||||
Watch the [September Motion Meetup](http://www.youtube.com/watch?v=rf7h-3AiMRQ) where Gant Laborde
|
||||
interviews Jamon Holmgren about ProMotion!
|
||||
|
||||
```ruby
|
||||
class AppDelegate < PM::Delegate
|
||||
def on_load(app, options)
|
||||
@@ -16,7 +19,7 @@ end
|
||||
|
||||
class RootScreen < PM::Screen
|
||||
title "Root Screen"
|
||||
|
||||
|
||||
def push_new_screen
|
||||
open NewScreen
|
||||
end
|
||||
@@ -24,7 +27,7 @@ end
|
||||
|
||||
class NewScreen < PM::TableScreen
|
||||
title "Table Screen"
|
||||
|
||||
|
||||
def table_data
|
||||
[{
|
||||
cells: [
|
||||
|
||||
Reference in New Issue
Block a user