├── .gitignore
├── README.md
├── android
├── Conference
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── about_fragment.rb
│ │ ├── main_activity.rb
│ │ ├── schedule_adapter.rb
│ │ ├── schedule_fragment.rb
│ │ ├── sponsors_fragment.rb
│ │ └── venue_fragment.rb
│ ├── resources
│ │ ├── drawable-hdpi
│ │ │ └── ic_drawer.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_drawer.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_drawer.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ ├── pixate.png
│ │ │ ├── rmc_logo.png
│ │ │ ├── rubymine.png
│ │ │ └── terriblelabs.png
│ │ └── values
│ │ │ └── strings.xml
│ ├── screenshot.png
│ └── vendor
│ │ ├── android-support-v4.jar
│ │ └── google-play-services_lib
│ │ ├── .classpath
│ │ ├── AndroidManifest.xml
│ │ ├── README.txt
│ │ ├── libs
│ │ ├── google-play-services.jar
│ │ └── google-play-services.jar.properties
│ │ ├── proguard.txt
│ │ ├── project.properties
│ │ ├── res
│ │ ├── color
│ │ │ ├── common_signin_btn_text_dark.xml
│ │ │ └── common_signin_btn_text_light.xml
│ │ ├── drawable-hdpi
│ │ │ ├── common_signin_btn_icon_disabled_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_disabled_light.9.png
│ │ │ ├── common_signin_btn_icon_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_normal_dark.9.png
│ │ │ ├── common_signin_btn_icon_normal_light.9.png
│ │ │ ├── common_signin_btn_icon_pressed_dark.9.png
│ │ │ ├── common_signin_btn_icon_pressed_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_light.9.png
│ │ │ ├── common_signin_btn_text_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_focus_light.9.png
│ │ │ ├── common_signin_btn_text_normal_dark.9.png
│ │ │ ├── common_signin_btn_text_normal_light.9.png
│ │ │ ├── common_signin_btn_text_pressed_dark.9.png
│ │ │ ├── common_signin_btn_text_pressed_light.9.png
│ │ │ ├── ic_plusone_medium_off_client.png
│ │ │ ├── ic_plusone_small_off_client.png
│ │ │ ├── ic_plusone_standard_off_client.png
│ │ │ └── ic_plusone_tall_off_client.png
│ │ ├── drawable-mdpi
│ │ │ ├── common_signin_btn_icon_disabled_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_disabled_light.9.png
│ │ │ ├── common_signin_btn_icon_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_normal_dark.9.png
│ │ │ ├── common_signin_btn_icon_normal_light.9.png
│ │ │ ├── common_signin_btn_icon_pressed_dark.9.png
│ │ │ ├── common_signin_btn_icon_pressed_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_light.9.png
│ │ │ ├── common_signin_btn_text_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_focus_light.9.png
│ │ │ ├── common_signin_btn_text_normal_dark.9.png
│ │ │ ├── common_signin_btn_text_normal_light.9.png
│ │ │ ├── common_signin_btn_text_pressed_dark.9.png
│ │ │ ├── common_signin_btn_text_pressed_light.9.png
│ │ │ ├── ic_plusone_medium_off_client.png
│ │ │ ├── ic_plusone_small_off_client.png
│ │ │ ├── ic_plusone_standard_off_client.png
│ │ │ └── ic_plusone_tall_off_client.png
│ │ ├── drawable-xhdpi
│ │ │ ├── common_signin_btn_icon_disabled_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_disabled_light.9.png
│ │ │ ├── common_signin_btn_icon_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_normal_dark.9.png
│ │ │ ├── common_signin_btn_icon_normal_light.9.png
│ │ │ ├── common_signin_btn_icon_pressed_dark.9.png
│ │ │ ├── common_signin_btn_icon_pressed_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_light.9.png
│ │ │ ├── common_signin_btn_text_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_focus_light.9.png
│ │ │ ├── common_signin_btn_text_normal_dark.9.png
│ │ │ ├── common_signin_btn_text_normal_light.9.png
│ │ │ ├── common_signin_btn_text_pressed_dark.9.png
│ │ │ ├── common_signin_btn_text_pressed_light.9.png
│ │ │ ├── ic_plusone_medium_off_client.png
│ │ │ ├── ic_plusone_small_off_client.png
│ │ │ ├── ic_plusone_standard_off_client.png
│ │ │ └── ic_plusone_tall_off_client.png
│ │ ├── drawable-xxhdpi
│ │ │ ├── common_signin_btn_icon_disabled_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_disabled_light.9.png
│ │ │ ├── common_signin_btn_icon_focus_dark.9.png
│ │ │ ├── common_signin_btn_icon_focus_light.9.png
│ │ │ ├── common_signin_btn_icon_normal_dark.9.png
│ │ │ ├── common_signin_btn_icon_normal_light.9.png
│ │ │ ├── common_signin_btn_icon_pressed_dark.9.png
│ │ │ ├── common_signin_btn_icon_pressed_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_disabled_focus_light.9.png
│ │ │ ├── common_signin_btn_text_disabled_light.9.png
│ │ │ ├── common_signin_btn_text_focus_dark.9.png
│ │ │ ├── common_signin_btn_text_focus_light.9.png
│ │ │ ├── common_signin_btn_text_normal_dark.9.png
│ │ │ ├── common_signin_btn_text_normal_light.9.png
│ │ │ ├── common_signin_btn_text_pressed_dark.9.png
│ │ │ ├── common_signin_btn_text_pressed_light.9.png
│ │ │ ├── ic_plusone_medium_off_client.png
│ │ │ ├── ic_plusone_small_off_client.png
│ │ │ ├── ic_plusone_standard_off_client.png
│ │ │ └── ic_plusone_tall_off_client.png
│ │ ├── drawable
│ │ │ ├── common_signin_btn_icon_dark.xml
│ │ │ ├── common_signin_btn_icon_light.xml
│ │ │ ├── common_signin_btn_text_dark.xml
│ │ │ └── common_signin_btn_text_light.xml
│ │ ├── values-af
│ │ │ └── strings.xml
│ │ ├── values-am
│ │ │ └── strings.xml
│ │ ├── values-ar
│ │ │ └── strings.xml
│ │ ├── values-be
│ │ │ └── strings.xml
│ │ ├── values-bg
│ │ │ └── strings.xml
│ │ ├── values-ca
│ │ │ └── strings.xml
│ │ ├── values-cs
│ │ │ └── strings.xml
│ │ ├── values-da
│ │ │ └── strings.xml
│ │ ├── values-de
│ │ │ └── strings.xml
│ │ ├── values-el
│ │ │ └── strings.xml
│ │ ├── values-en-rGB
│ │ │ └── strings.xml
│ │ ├── values-en-rIN
│ │ │ └── strings.xml
│ │ ├── values-es-rUS
│ │ │ └── strings.xml
│ │ ├── values-es
│ │ │ └── strings.xml
│ │ ├── values-et-rEE
│ │ │ └── strings.xml
│ │ ├── values-fa
│ │ │ └── strings.xml
│ │ ├── values-fi
│ │ │ └── strings.xml
│ │ ├── values-fr-rCA
│ │ │ └── strings.xml
│ │ ├── values-fr
│ │ │ └── strings.xml
│ │ ├── values-hi
│ │ │ └── strings.xml
│ │ ├── values-hr
│ │ │ └── strings.xml
│ │ ├── values-hu
│ │ │ └── strings.xml
│ │ ├── values-hy-rAM
│ │ │ └── strings.xml
│ │ ├── values-in
│ │ │ └── strings.xml
│ │ ├── values-it
│ │ │ └── strings.xml
│ │ ├── values-iw
│ │ │ └── strings.xml
│ │ ├── values-ja
│ │ │ └── strings.xml
│ │ ├── values-ka-rGE
│ │ │ └── strings.xml
│ │ ├── values-km-rKH
│ │ │ └── strings.xml
│ │ ├── values-ko
│ │ │ └── strings.xml
│ │ ├── values-lo-rLA
│ │ │ └── strings.xml
│ │ ├── values-lt
│ │ │ └── strings.xml
│ │ ├── values-lv
│ │ │ └── strings.xml
│ │ ├── values-mn-rMN
│ │ │ └── strings.xml
│ │ ├── values-ms-rMY
│ │ │ └── strings.xml
│ │ ├── values-nb
│ │ │ └── strings.xml
│ │ ├── values-nl
│ │ │ └── strings.xml
│ │ ├── values-pl
│ │ │ └── strings.xml
│ │ ├── values-pt-rBR
│ │ │ └── strings.xml
│ │ ├── values-pt-rPT
│ │ │ └── strings.xml
│ │ ├── values-pt
│ │ │ └── strings.xml
│ │ ├── values-ro
│ │ │ └── strings.xml
│ │ ├── values-ru
│ │ │ └── strings.xml
│ │ ├── values-sk
│ │ │ └── strings.xml
│ │ ├── values-sl
│ │ │ └── strings.xml
│ │ ├── values-sr
│ │ │ └── strings.xml
│ │ ├── values-sv
│ │ │ └── strings.xml
│ │ ├── values-sw
│ │ │ └── strings.xml
│ │ ├── values-th
│ │ │ └── strings.xml
│ │ ├── values-tl
│ │ │ └── strings.xml
│ │ ├── values-tr
│ │ │ └── strings.xml
│ │ ├── values-uk
│ │ │ └── strings.xml
│ │ ├── values-vi
│ │ │ └── strings.xml
│ │ ├── values-zh-rCN
│ │ │ └── strings.xml
│ │ ├── values-zh-rHK
│ │ │ └── strings.xml
│ │ ├── values-zh-rTW
│ │ │ └── strings.xml
│ │ ├── values-zu
│ │ │ └── strings.xml
│ │ └── values
│ │ │ ├── ads_attrs.xml
│ │ │ ├── colors.xml
│ │ │ ├── maps_attrs.xml
│ │ │ ├── strings.xml
│ │ │ └── version.xml
│ │ └── src
│ │ └── android
│ │ └── UnusedStub.java
├── Hello
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ └── main_activity.rb
│ └── screenshot.png
├── Paint
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── main_activity.rb
│ │ └── paint_view.rb
│ └── screenshot.png
├── README
├── ServiceDemo
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── main_activity.rb
│ │ ├── my_service.java
│ │ ├── my_service.rb
│ │ └── update_receiver.rb
│ ├── resources
│ │ └── raw
│ │ │ └── nyancat.ogg
│ └── screenshot.png
├── States
│ ├── .gitignore
│ ├── Rakefile
│ ├── Readme.md
│ ├── app
│ │ ├── main_activity.rb
│ │ ├── states.rb
│ │ └── wikipedia_activity.rb
│ └── screenshot.png
├── Timer
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ └── main_activity.rb
│ └── screenshot.png
├── Weather
│ ├── .gitignore
│ ├── Rakefile
│ ├── Readme.md
│ ├── app
│ │ ├── listeners
│ │ │ └── request_listener.rb
│ │ ├── main_activity.rb
│ │ ├── models
│ │ │ └── weather.rb
│ │ ├── task_param.rb
│ │ └── volley_methods.rb
│ ├── screenshot.png
│ ├── spec
│ │ └── main_spec.rb
│ └── vendor
│ │ └── volley-1.0.9.jar
└── WebViewDemo
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ └── main_activity.rb
│ ├── assets
│ ├── android_normal.png
│ ├── android_waving.png
│ └── demo.html
│ └── screenshot.png
├── game
└── README.md
├── ios
├── Beers
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── beer.rb
│ │ ├── beer_details_controller.rb
│ │ ├── beer_list_controller.rb
│ │ └── beer_map_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ ├── list.png
│ │ └── map.png
│ └── screenshot.png
├── BitWatch
│ ├── .gitignore
│ ├── Gemfile
│ ├── README.markdown
│ ├── Rakefile
│ ├── WatchApp
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Rakefile
│ │ ├── app
│ │ │ ├── glance_controller.rb
│ │ │ ├── interface_controller.rb
│ │ │ └── notification_controller.rb
│ │ ├── resources
│ │ │ └── .gitkeep
│ │ └── watch_app
│ │ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ ├── AppLauncher-1.png
│ │ │ │ ├── AppLauncher.png
│ │ │ │ ├── CompanionSettings-1.png
│ │ │ │ ├── CompanionSettings-29@2x.png
│ │ │ │ ├── CompanionSettings-29@3x.png
│ │ │ │ ├── Contents.json
│ │ │ │ ├── LongLook.png
│ │ │ │ ├── NotificationCenter-1.png
│ │ │ │ ├── NotificationCenter-24@2x.png
│ │ │ │ ├── NotificationCenter-27.5@2x.png
│ │ │ │ ├── NotificationCenter.png
│ │ │ │ ├── QuickLook-1.png
│ │ │ │ └── QuickLook.png
│ │ │ ├── Down.imageset
│ │ │ │ ├── Contents.json
│ │ │ │ └── Down@2x.png
│ │ │ ├── LaunchImage.launchimage
│ │ │ │ ├── Contents.json
│ │ │ │ ├── LaunchImage-38mm.png
│ │ │ │ └── LaunchImage-42mm.png
│ │ │ └── Up.imageset
│ │ │ │ ├── Contents.json
│ │ │ │ └── Up@2x.png
│ │ │ └── Interface.storyboard
│ ├── WatchAppV2
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── PushNotificationPayload.json
│ │ ├── Rakefile
│ │ ├── app
│ │ │ ├── complication_controller.rb
│ │ │ ├── extension_delegate.rb
│ │ │ ├── glance_controller.rb
│ │ │ ├── interface_controller.rb
│ │ │ └── notification_controller.rb
│ │ ├── resources
│ │ │ ├── .gitkeep
│ │ │ └── Assets.xcassets
│ │ │ │ └── Complication.complicationset
│ │ │ │ ├── Circular.imageset
│ │ │ │ ├── Circular_38mm@2x.png
│ │ │ │ ├── Circular_42mm@2x.png
│ │ │ │ └── Contents.json
│ │ │ │ ├── Contents.json
│ │ │ │ ├── Extra Large.imageset
│ │ │ │ └── Contents.json
│ │ │ │ ├── Modular.imageset
│ │ │ │ └── Contents.json
│ │ │ │ └── Utilitarian.imageset
│ │ │ │ └── Contents.json
│ │ └── watch_app
│ │ │ ├── Base.lproj
│ │ │ └── Interface.storyboard
│ │ │ └── Images.xcassets
│ │ │ └── AppIcon.appiconset
│ │ │ ├── CompanionSettings-29@2x.png
│ │ │ ├── CompanionSettings-29@3x.png
│ │ │ ├── Contents.json
│ │ │ ├── HomeScreen.png
│ │ │ ├── NotificationCenter_38mm.png
│ │ │ ├── NotificationCenter_42mm.png
│ │ │ ├── ShortLook_38mm.png
│ │ │ └── ShortLook_42mm.png
│ ├── app
│ │ └── app_delegate.rb
│ ├── provisions
│ │ └── .gitkeep
│ └── resources
│ │ ├── Default-568h@2x.png
│ │ └── icon.png
├── Camera
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── camera_view_controller.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ └── screenshot.png
├── CircleLayout
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── cell.rb
│ │ ├── circle_layout.rb
│ │ └── view_controller.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── Email
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ └── app_delegate.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── ExtensionsAndFrameworks
│ ├── .gitignore
│ ├── Gemfile
│ ├── Rakefile
│ ├── app
│ │ └── app_delegate.rb
│ ├── extensions
│ │ ├── custom-keyboard
│ │ │ ├── .gitignore
│ │ │ ├── Gemfile
│ │ │ ├── Rakefile
│ │ │ ├── app
│ │ │ │ └── keyboard_view_controller.rb
│ │ │ └── resources
│ │ │ │ └── .gitkeep
│ │ └── today-extension
│ │ │ ├── .gitignore
│ │ │ ├── Gemfile
│ │ │ ├── Rakefile
│ │ │ ├── app
│ │ │ └── today_view_controller.rb
│ │ │ └── resources
│ │ │ └── .gitkeep
│ ├── frameworks
│ │ └── my-shared-framework
│ │ │ ├── .gitignore
│ │ │ ├── Gemfile
│ │ │ ├── Rakefile
│ │ │ ├── app
│ │ │ ├── .gitkeep
│ │ │ └── my_framework_class.rb
│ │ │ └── resources
│ │ │ └── .gitkeep
│ ├── readme.md
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ └── spec
│ │ └── main_spec.rb
├── FlappyBird
│ ├── Gemfile
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── controllers
│ │ │ └── game_view_controller.rb
│ │ ├── nodes
│ │ │ ├── physical_ground.rb
│ │ │ └── pipe_pair.rb
│ │ ├── scenes
│ │ │ └── sky_line_scene.rb
│ │ └── sprites
│ │ │ ├── bird.rb
│ │ │ └── pipe.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── bird_one.png
│ │ ├── bird_three.png
│ │ ├── bird_two.png
│ │ ├── ground.png
│ │ ├── pipe_down.png
│ │ ├── pipe_up.png
│ │ └── skyline.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── Fonts
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── detail_controller.rb
│ │ └── root_controller.rb
│ ├── resources
│ │ ├── .gitkeep
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── GestureTable
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── UIColor_extensions.rb
│ │ ├── UITableView_extensions.rb
│ │ ├── app_delegate.rb
│ │ ├── gesture_recognizer.rb
│ │ ├── transformable_cells.rb
│ │ └── view_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ └── screenshot.png
├── Hello
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── hello_view.rb
│ │ └── hello_view_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ └── icon.png
│ └── screenshot.png
├── HelloGL
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── index_data.rb
│ │ ├── motiongl_controller.rb
│ │ └── vertex_data.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ └── rubymotion.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── Locations
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── location.rb
│ │ ├── locations_controller.rb
│ │ └── locations_store.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ └── screenshot.png
├── MoveMe
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── move_me_view.rb
│ │ ├── move_me_view_controller.rb
│ │ └── placard_view.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ ├── DisplayStrings.txt
│ │ └── Placard.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── Mustache
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── mustache_view_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ ├── guido.jpg
│ │ ├── jmccolor.jpg
│ │ ├── kay.jpg
│ │ ├── matz.jpg
│ │ └── mustache.png
│ └── screenshot.png
├── Paint
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── paint_view.rb
│ │ └── paint_view_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ └── erase.caf
│ └── screenshot.png
├── PaintHTML
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── web_view_controller.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ ├── index.html
│ │ └── index2.html
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── RedditSearch
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── data_parser.rb
│ │ ├── json_parser.rb
│ │ ├── post.rb
│ │ ├── post_cell.rb
│ │ └── reddit_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ └── reddit.png
│ └── screenshot.png
├── SpaceRocks
│ ├── Gemfile
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── hello_scene.rb
│ │ ├── scene_view.rb
│ │ ├── scene_view_controller.rb
│ │ └── spaceship_scene.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── StoryboardCustoms
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── custom_view_controller1.rb
│ │ ├── custom_view_controller2.rb
│ │ └── helpers.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ ├── Default-736h@3x.png
│ │ └── Master.storyboard
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── TicTacToe
│ ├── .gitignore
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── board.rb
│ │ └── board_view_controller.rb
│ ├── resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
├── Timer
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── timer_controller.rb
│ ├── resources
│ │ ├── .gitignore
│ │ ├── Default-568h@2x.png
│ │ ├── Default-667h@2x.png
│ │ └── Default-736h@3x.png
│ ├── screenshot.png
│ └── spec
│ │ └── main_spec.rb
└── Trollify
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ ├── app_delegate.rb
│ ├── image_composition_controller.rb
│ └── uiimage_extension.rb
│ ├── resources
│ ├── .gitignore
│ ├── Default-568h@2x.png
│ ├── Default-667h@2x.png
│ ├── Default-736h@3x.png
│ ├── ballmer.jpg
│ ├── icon.png
│ ├── icon@2x.png
│ └── trollface.png
│ ├── screenshot.png
│ └── spec
│ └── main_spec.rb
├── osx
├── Calc
│ ├── .gitignore
│ ├── Gemfile
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── menu.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── CircleView
│ ├── .gitignore
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── circle_view.rb
│ │ └── menu.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── DotView
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── dot_view.rb
│ │ └── menu.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── FileSystemBrowser
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── filesystem_item.rb
│ │ └── menu.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── FlickrBrowser
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── menu.rb
│ │ ├── photo.rb
│ │ └── photo_controller.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── ImageTransition
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── MyWindowController.rb
│ │ ├── SlideshowView.rb
│ │ ├── app_delegate.rb
│ │ └── menu.rb
│ ├── resources
│ │ ├── Credits.rtf
│ │ ├── Lake Don Pedro1.jpg
│ │ ├── Lake Don Pedro2.jpg
│ │ ├── restrictedshine.tiff
│ │ └── transitionmask.jpg
│ └── spec
│ │ └── main_spec.rb
├── Markdown
│ ├── Gemfile
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ └── menu.rb
│ ├── resources
│ │ ├── Credits.rtf
│ │ └── Markdown.md
│ └── spec
│ │ └── main_spec.rb
├── NSTableViewBinding
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── EditController.rb
│ │ ├── MyWindowController.rb
│ │ ├── app_delegate.rb
│ │ └── menu.rb
│ ├── resources
│ │ ├── Credits.rtf
│ │ └── ReadMe.txt
│ └── spec
│ │ └── main_spec.rb
├── PagePacker
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── AppController.rb
│ │ ├── CatalogController.rb
│ │ ├── DraggingSourcePDFView.rb
│ │ ├── GeometryUtilities.rb
│ │ ├── MyDocument.rb
│ │ ├── PDFUtility.rb
│ │ ├── PackModel.rb
│ │ ├── PackerView.rb
│ │ ├── PageInfo.rb
│ │ ├── PreferenceController.rb
│ │ ├── RoundCloseButtonCell.rb
│ │ └── TextDisplayView.rb
│ ├── resources
│ │ ├── English.lproj
│ │ │ ├── CatalogController.xib
│ │ │ ├── Credits.rtf
│ │ │ ├── MainMenu.xib
│ │ │ ├── MyDocument.xib
│ │ │ ├── PagePackerHelp
│ │ │ │ ├── PagePackerHelp.helpindex
│ │ │ │ ├── graphics
│ │ │ │ │ ├── abprint.png
│ │ │ │ │ ├── addpage.png
│ │ │ │ │ ├── catalog.png
│ │ │ │ │ ├── cut.jpg
│ │ │ │ │ ├── fold1.jpg
│ │ │ │ │ ├── fold2.jpg
│ │ │ │ │ ├── fold3.jpg
│ │ │ │ │ ├── iCal.png
│ │ │ │ │ ├── noword.gif
│ │ │ │ │ ├── ready2print.png
│ │ │ │ │ ├── voila.jpg
│ │ │ │ │ └── webpage.png
│ │ │ │ ├── ppicon16.png
│ │ │ │ └── swtitle.html
│ │ │ └── PreferenceController.xib
│ │ ├── Generic.icns
│ │ ├── PPApp.icns
│ │ └── pages.pdf
│ └── spec
│ │ └── main_spec.rb
├── PathDemo
│ ├── .gitignore
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── demo_view.rb
│ │ └── menu.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── RssReader
│ ├── .gitignore
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── controller.rb
│ │ ├── menu.rb
│ │ └── rss_parser.rb
│ ├── resources
│ │ └── Credits.rtf
│ └── spec
│ │ └── main_spec.rb
├── Scenario
│ ├── README
│ ├── Rakefile
│ ├── app
│ │ ├── app_delegate.rb
│ │ ├── menu.rb
│ │ ├── scene_controller.rb
│ │ ├── scene_window_controller.rb
│ │ └── scene_window_controller_toolbar.rb
│ ├── resources
│ │ ├── Credits.rtf
│ │ ├── Cue-Pause.png
│ │ ├── Cue-Play.png
│ │ ├── Cue-Stop.png
│ │ ├── earthlights1k.jpg
│ │ ├── earthmap1k.jpg
│ │ ├── earthmoontextured.dae
│ │ ├── earthnormal1k.jpg
│ │ ├── earthspec1k.jpg
│ │ ├── fragment.prog
│ │ ├── moonmap1k.jpg
│ │ ├── moonnormal1k.jpg
│ │ ├── vertex.prog
│ │ ├── wood.jpg
│ │ └── wood.pxm
│ └── spec
│ │ └── main_spec.rb
└── Temperature Converter
│ ├── .gitignore
│ ├── Gemfile
│ ├── README.md
│ ├── Rakefile
│ ├── app
│ ├── controllers
│ │ └── window_controller.rb
│ ├── libs
│ │ └── transformer.rb
│ ├── menu.rb
│ ├── models
│ │ └── value_transformers.rb
│ └── temperature_converter_delegate.rb
│ ├── image.PNG
│ ├── resources
│ ├── Credits.rtf
│ └── icon.icns
│ └── spec
│ ├── 0shared_value_transformer_spec.rb
│ ├── celsius_to_kelvin_transformer_spec.rb
│ ├── kelvin_to_delisle_transformer_spec.rb
│ ├── kelvin_to_fahrenheit_transformer_spec.rb
│ ├── kelvin_to_newton_transformer_spec.rb
│ ├── kelvin_to_rankine_transformer_spec.rb
│ ├── kelvin_to_reaumur_transformer_spec.rb
│ ├── kelvin_to_romer_transformer_spec.rb
│ ├── main_spec.rb
│ └── window_controller_spec.rb
├── tvos
└── Timer
│ ├── .gitignore
│ ├── Gemfile
│ ├── Rakefile
│ ├── app
│ ├── app_delegate.rb
│ └── timer_controller.rb
│ ├── resources
│ └── Images.xcassets
│ │ ├── App Icon & Top Shelf Image.brandassets
│ │ ├── App Icon - Large.imagestack
│ │ │ ├── Back.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ │ ├── Contents.json
│ │ │ │ │ └── large.png
│ │ │ │ └── Contents.json
│ │ │ ├── Contents.json
│ │ │ ├── Front.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ │ ├── Contents.json
│ │ │ │ │ └── large.png
│ │ │ │ └── Contents.json
│ │ │ └── Middle.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ ├── Contents.json
│ │ │ │ └── large.png
│ │ │ │ └── Contents.json
│ │ ├── App Icon - Small.imagestack
│ │ │ ├── Back.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ │ ├── Contents.json
│ │ │ │ │ └── small.png
│ │ │ │ └── Contents.json
│ │ │ ├── Contents.json
│ │ │ ├── Front.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ │ ├── Contents.json
│ │ │ │ │ └── small.png
│ │ │ │ └── Contents.json
│ │ │ └── Middle.imagestacklayer
│ │ │ │ ├── Content.imageset
│ │ │ │ ├── Contents.json
│ │ │ │ └── small.png
│ │ │ │ └── Contents.json
│ │ ├── Contents.json
│ │ └── Top Shelf Image.imageset
│ │ │ ├── Contents.json
│ │ │ └── topshelf.png
│ │ ├── Contents.json
│ │ └── LaunchImage.launchimage
│ │ ├── Contents.json
│ │ └── lauchimage.png
│ └── spec
│ └── main_spec.rb
└── watchos
└── BitWatch
/.gitignore:
--------------------------------------------------------------------------------
1 | *.sw[po]
2 | .repl_history
3 | build
4 | Gemfile.lock
5 |
--------------------------------------------------------------------------------
/android/Conference/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/Conference/README.md:
--------------------------------------------------------------------------------
1 | Conference
2 | ==========
3 |
4 | This sample app demonstrates the following concepts: Linear Layout, List View, Map View, Navigation Drawer.
5 |
6 | 
7 |
8 | It was made for the second RubyMotion #inspect conference. It is also available in the [Google Play Store](https://play.google.com/store/apps/details?id=com.hipbyte.inspect2014&hl=en).
9 |
--------------------------------------------------------------------------------
/android/Conference/resources/drawable-hdpi/ic_drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable-hdpi/ic_drawer.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable-mdpi/ic_drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable-mdpi/ic_drawer.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable-xhdpi/ic_drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable-xhdpi/ic_drawer.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable/pixate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable/pixate.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable/rmc_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable/rmc_logo.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable/rubymine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable/rubymine.png
--------------------------------------------------------------------------------
/android/Conference/resources/drawable/terriblelabs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/resources/drawable/terriblelabs.png
--------------------------------------------------------------------------------
/android/Conference/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/screenshot.png
--------------------------------------------------------------------------------
/android/Conference/vendor/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/android-support-v4.jar
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/README.txt:
--------------------------------------------------------------------------------
1 | Library Project including Google Play services client jar.
2 |
3 | This can be used by an Android project to use the API's provided
4 | by Google Play services.
5 |
6 | There is technically no source, but the src folder is necessary
7 | to ensure that the build system works. The content is actually
8 | located in the libs/ directory.
9 |
10 |
11 | USAGE:
12 |
13 | Make sure you import this Android library project into your IDE
14 | and set this project as a dependency.
15 |
16 | Note that if you use proguard, you will want to include the
17 | options from proguard.txt in your configuration.
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/libs/google-play-services.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/libs/google-play-services.jar
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/libs/google-play-services.jar.properties:
--------------------------------------------------------------------------------
1 | doc=../../../docs/reference
2 |
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_medium_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_medium_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_small_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_small_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_standard_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_standard_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_tall_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-hdpi/ic_plusone_tall_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_medium_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_medium_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_small_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_small_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_standard_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_standard_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_tall_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-mdpi/ic_plusone_tall_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_medium_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_medium_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_small_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_small_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_standard_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_standard_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_tall_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xhdpi/ic_plusone_tall_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_dark.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_dark.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_light.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_light.9.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_medium_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_medium_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_small_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_small_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_standard_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_standard_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_tall_off_client.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Conference/vendor/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_tall_off_client.png
--------------------------------------------------------------------------------
/android/Conference/vendor/google-play-services_lib/res/values/version.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4323000
4 |
5 |
--------------------------------------------------------------------------------
/android/Hello/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/Hello/README.md:
--------------------------------------------------------------------------------
1 | Hello
2 | =====
3 |
4 | This sample demonstrates the following concepts: Label, Touch Events.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/Hello/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'Hello'
8 | end
9 |
--------------------------------------------------------------------------------
/android/Hello/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Hello/screenshot.png
--------------------------------------------------------------------------------
/android/Paint/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/Paint/README.md:
--------------------------------------------------------------------------------
1 | Paint
2 | =====
3 |
4 | This sample demonstrates the following concepts: Linear Layout, Button, Canvas Draw.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/Paint/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'Paint'
8 | end
9 |
--------------------------------------------------------------------------------
/android/Paint/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Paint/screenshot.png
--------------------------------------------------------------------------------
/android/README:
--------------------------------------------------------------------------------
1 | These samples require RubyMotion for Android beta (3.0).
2 |
--------------------------------------------------------------------------------
/android/ServiceDemo/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/ServiceDemo/README.md:
--------------------------------------------------------------------------------
1 | ServiceDemo
2 | ===========
3 |
4 | This sample demonstrates the following concepts: Button, Service, Media Player.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/ServiceDemo/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'ServiceDemo'
8 | app.services += ['.MyService']
9 | end
10 |
--------------------------------------------------------------------------------
/android/ServiceDemo/app/my_service.java:
--------------------------------------------------------------------------------
1 | // Subclasses of Android::App::IntentService must implement an empty (no-argument) constructor. In RubyMotion, this has to be donein pure Java.
2 | public MyService() {
3 | super("MyService");
4 | }
5 |
--------------------------------------------------------------------------------
/android/ServiceDemo/app/update_receiver.rb:
--------------------------------------------------------------------------------
1 | class UpdateReceiver < Android::Content::BroadcastReceiver
2 | Message = "UpdateReceiverMessage"
3 |
4 | attr_accessor :delegate
5 |
6 | def onReceive(content, intent)
7 | # This method is called when we receive a broadcasted message. We just notify our delegate.
8 | update = intent.getStringExtra(MyService::UpdateStatus)
9 | if update and @delegate.respond_to?(:updateReceived)
10 | @delegate.updateReceived(Java::Lang::Integer.new(update))
11 | end
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/android/ServiceDemo/resources/raw/nyancat.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/ServiceDemo/resources/raw/nyancat.ogg
--------------------------------------------------------------------------------
/android/ServiceDemo/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/ServiceDemo/screenshot.png
--------------------------------------------------------------------------------
/android/States/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/States/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'States'
8 | app.main_activity = 'MainActivity'
9 | app.sub_activities += %w(WikipediaActivity)
10 | app.permissions = 'android.permission.INTERNET'
11 | end
12 |
--------------------------------------------------------------------------------
/android/States/Readme.md:
--------------------------------------------------------------------------------
1 | States
2 | ======
3 |
4 | This sample demonstrates the following concepts: List View, Web View.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/States/app/wikipedia_activity.rb:
--------------------------------------------------------------------------------
1 | class WikipediaActivity < Android::App::Activity
2 | SelectedState = 'com.yourcompany.states.selected_state'
3 |
4 | def onCreate(savedInstanceState)
5 | super
6 |
7 | state = self.intent.getStringExtra(SelectedState)
8 | url = "https://en.wikipedia.org/wiki/#{state}"
9 | puts "Loading #{url}"
10 |
11 | webview = Android::Webkit::WebView.new(self)
12 | webview.webViewClient = Android::Webkit::WebViewClient.new
13 | webview.loadUrl url
14 | self.contentView = webview
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/android/States/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/States/screenshot.png
--------------------------------------------------------------------------------
/android/Timer/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/Timer/README.md:
--------------------------------------------------------------------------------
1 | Timer
2 | =====
3 |
4 | This sample demonstrates the following concepts: Linear Layout, Timer, Label, Button.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/Timer/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'Timer'
8 | end
9 |
--------------------------------------------------------------------------------
/android/Timer/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Timer/screenshot.png
--------------------------------------------------------------------------------
/android/Weather/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/Weather/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require "motion/project/template/android"
4 |
5 | Motion::Project::App.setup do |app|
6 | app.name = "weather"
7 | app.permissions = [:internet]
8 | app.package = "com.willrax.weather"
9 |
10 | app.vendor_project jar: "vendor/volley-1.0.9.jar"
11 | end
12 |
--------------------------------------------------------------------------------
/android/Weather/Readme.md:
--------------------------------------------------------------------------------
1 | # Weather
2 |
3 | This sample demonstrates the use of Google's networking framework Volley to fetch and parse a JSON feed.
4 |
5 | 
6 |
--------------------------------------------------------------------------------
/android/Weather/app/listeners/request_listener.rb:
--------------------------------------------------------------------------------
1 | class RequestListener
2 | attr_accessor :activity
3 |
4 | def initialize(activity)
5 | @activity = activity
6 | end
7 |
8 | def onResponse(json)
9 | weather = Weather.new(json)
10 | @activity.update_display(weather)
11 | end
12 | end
13 |
--------------------------------------------------------------------------------
/android/Weather/app/models/weather.rb:
--------------------------------------------------------------------------------
1 | class Weather
2 | attr_reader :observations, :temp, :wind_direction, :wind_speed
3 |
4 | def initialize(json)
5 | @observations = json.getJSONObject("observations")
6 | @temp = latest_observation.getString("air_temp")
7 | @wind_speed = latest_observation.getString("wind_spd_kmh")
8 | @wind_direction = latest_observation.getString("wind_dir")
9 | end
10 |
11 | private
12 |
13 | def latest_observation
14 | @latest_observation ||= observations.getJSONArray("data").getJSONObject(0)
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/android/Weather/app/task_param.rb:
--------------------------------------------------------------------------------
1 | class TaskParam
2 | attr_reader :thing
3 |
4 | def initialize(thing)
5 | @thing = thing
6 | end
7 | end
8 |
9 |
--------------------------------------------------------------------------------
/android/Weather/app/volley_methods.rb:
--------------------------------------------------------------------------------
1 | # There is a bug with fetching nested class in RM. Recreate the methods below.
2 |
3 | class VolleyMethods
4 | DEPRECATED_GET_OR_POST = -1
5 | GET = 0
6 | POST = 1
7 | PUT = 2
8 | DELETE = 3
9 | HEAD = 4
10 | OPTIONS = 5
11 | TRACE = 6
12 | PATCH = 7
13 | end
14 |
--------------------------------------------------------------------------------
/android/Weather/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Weather/screenshot.png
--------------------------------------------------------------------------------
/android/Weather/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Main activity" do
2 | it "has a title" do
3 | main_activity.title.should == "weather"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/android/Weather/vendor/volley-1.0.9.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/Weather/vendor/volley-1.0.9.jar
--------------------------------------------------------------------------------
/android/WebViewDemo/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | .DS_Store
5 | nbproject
6 | .redcar
7 | #*#
8 | *~
9 | *.sw[po]
10 | .eprj
11 | .sass-cache
12 | .idea
13 | .dat*.*
14 |
--------------------------------------------------------------------------------
/android/WebViewDemo/README.md:
--------------------------------------------------------------------------------
1 | WebViewDemo
2 | ===========
3 |
4 | This sample demonstrates the following concepts: WebView, HTML / Javascript Interface.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/android/WebViewDemo/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/android'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'WebViewDemo'
8 | end
9 |
--------------------------------------------------------------------------------
/android/WebViewDemo/assets/android_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/WebViewDemo/assets/android_normal.png
--------------------------------------------------------------------------------
/android/WebViewDemo/assets/android_waving.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/WebViewDemo/assets/android_waving.png
--------------------------------------------------------------------------------
/android/WebViewDemo/assets/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
16 |

17 | Click me!
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/android/WebViewDemo/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/android/WebViewDemo/screenshot.png
--------------------------------------------------------------------------------
/game/README.md:
--------------------------------------------------------------------------------
1 | Please see game samples at https://github.com/HipByte/motion-game/tree/master/samples
--------------------------------------------------------------------------------
/ios/Beers/README.md:
--------------------------------------------------------------------------------
1 | Beers.app
2 | =========
3 |
4 | This sample demonstrates the following concepts: Tabs Bar, Table View, Map View, Web View.
5 |
6 | 
7 |
8 | The icon files in the resources directory are from the [Glyphish project](http://glyphish.com).
9 |
--------------------------------------------------------------------------------
/ios/Beers/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Beers'
7 | app.frameworks += ['CoreLocation', 'MapKit', 'AddressBook']
8 |
9 | app.info_plist['NSAppTransportSecurity'] = {
10 | 'NSExceptionDomains' => {
11 | 'en.wikipedia.org' => { 'NSTemporaryExceptionAllowsInsecureHTTPLoads' => true }
12 | }
13 | }
14 | end
15 |
--------------------------------------------------------------------------------
/ios/Beers/app/beer_details_controller.rb:
--------------------------------------------------------------------------------
1 | class BeerDetailsController < UIViewController
2 | def loadView
3 | self.view = UIWebView.alloc.init
4 | end
5 |
6 | def viewWillAppear(animated)
7 | navigationController.setNavigationBarHidden(false, animated:true)
8 | end
9 |
10 | def showDetailsForBeer(beer)
11 | navigationItem.title = beer.title
12 | request = NSURLRequest.requestWithURL(beer.url)
13 | view.loadRequest(request)
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/ios/Beers/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Beers/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Beers/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Beers/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Beers/resources/list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/list.png
--------------------------------------------------------------------------------
/ios/Beers/resources/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/resources/map.png
--------------------------------------------------------------------------------
/ios/Beers/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Beers/screenshot.png
--------------------------------------------------------------------------------
/ios/BitWatch/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
19 | TestWatch/DerivedData
20 | TestWatch/ib.xcodeproj
21 |
--------------------------------------------------------------------------------
/ios/BitWatch/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/BitWatch/README.markdown:
--------------------------------------------------------------------------------
1 | # BitWatch
2 |
3 | This application is a ported version of the application that you build when
4 | following this excellent WatchKit tutorial:
5 |
6 | http://www.raywenderlich.com/89562/watchkit-tutorial-with-swift-getting-started
7 |
8 | ### Copyright of the original code and derived work
9 |
10 | ```
11 | Copyright (c) 2014 Razeware LLC. All rights reserved.
12 | ```
13 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | gem 'ib', '>= 0.7.0'
5 | # Add your dependencies here:
6 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/app/glance_controller.rb:
--------------------------------------------------------------------------------
1 | class GlanceController < WKInterfaceController
2 |
3 | def initWithContext(context)
4 | super
5 |
6 | # Initialize variables here.
7 | # Configure interface objects here.
8 | NSLog("%@ initWithContext", self)
9 |
10 | return self;
11 | end
12 |
13 | def willActivate
14 | # This method is called when watch view controller is about to be visible to user
15 | NSLog("%@ will activate", self)
16 | end
17 |
18 | def didDeactivate
19 | # This method is called when watch view controller is no longer visible
20 | NSLog("%@ did deactivate", self)
21 | end
22 |
23 | end
24 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/AppLauncher-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/AppLauncher-1.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/AppLauncher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/AppLauncher.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-1.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@3x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/LongLook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/LongLook.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-1.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-24@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-24@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-27.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter-27.5@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/QuickLook-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/QuickLook-1.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/QuickLook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/AppIcon.appiconset/QuickLook.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Down.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x",
10 | "filename" : "Down@2x.png"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Down.imageset/Down@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Down.imageset/Down@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/LaunchImage.launchimage/LaunchImage-38mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/LaunchImage.launchimage/LaunchImage-38mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/LaunchImage.launchimage/LaunchImage-42mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/LaunchImage.launchimage/LaunchImage-42mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Up.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x",
10 | "filename" : "Up@2x.png"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Up.imageset/Up@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchApp/watch_app/Images.xcassets/Up.imageset/Up@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | gem 'ib', '>= 0.7.0'
5 | # Add your dependencies here:
6 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/app/glance_controller.rb:
--------------------------------------------------------------------------------
1 | class GlanceController < WKInterfaceController
2 |
3 | def awakeWithContext(context)
4 | super
5 |
6 | # Initialize variables here.
7 | # Configure interface objects here.
8 | NSLog("%@ awakeWithContext", self)
9 |
10 | self
11 | end
12 |
13 | def willActivate
14 | # This method is called when watch view controller is about to be visible to user
15 | NSLog("%@ will activate", self)
16 | super
17 | end
18 |
19 | def didDeactivate
20 | # This method is called when watch view controller is no longer visible
21 | NSLog("%@ did deactivate", self)
22 | super
23 | end
24 |
25 | end
26 |
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Circular.imageset/Circular_38mm@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Circular.imageset/Circular_38mm@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Circular.imageset/Circular_42mm@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Circular.imageset/Circular_42mm@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "filename" : "Circular_38mm@2x.png",
6 | "screen-width" : "<=145",
7 | "scale" : "2x"
8 | },
9 | {
10 | "idiom" : "watch",
11 | "filename" : "Circular_42mm@2x.png",
12 | "screen-width" : ">145",
13 | "scale" : "2x"
14 | }
15 | ],
16 | "info" : {
17 | "version" : 1,
18 | "author" : "xcode"
19 | }
20 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x",
6 | "screen-width" : "<=145"
7 | },
8 | {
9 | "idiom" : "watch",
10 | "scale" : "2x",
11 | "screen-width" : ">145"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x",
6 | "screen-width" : "<=145"
7 | },
8 | {
9 | "idiom" : "watch",
10 | "scale" : "2x",
11 | "screen-width" : ">145"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/resources/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x",
6 | "screen-width" : "<=145"
7 | },
8 | {
9 | "idiom" : "watch",
10 | "scale" : "2x",
11 | "screen-width" : ">145"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/CompanionSettings-29@3x.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/HomeScreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/HomeScreen.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter_38mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter_38mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter_42mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/NotificationCenter_42mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/ShortLook_38mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/ShortLook_38mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/ShortLook_42mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/WatchAppV2/watch_app/Images.xcassets/AppIcon.appiconset/ShortLook_42mm.png
--------------------------------------------------------------------------------
/ios/BitWatch/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | true
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/ios/BitWatch/provisions/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/provisions/.gitkeep
--------------------------------------------------------------------------------
/ios/BitWatch/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/BitWatch/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/BitWatch/resources/icon.png
--------------------------------------------------------------------------------
/ios/Camera/README.md:
--------------------------------------------------------------------------------
1 | Camera.app
2 | ==========
3 |
4 | This sample demonstrates the following concepts: UIImagePickerController.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/ios/Camera/Rakefile:
--------------------------------------------------------------------------------
1 | # coding: utf-8
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/ios'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'Camera'
8 | app.info_plist['UIStatusBarHidden'] = true
9 | app.info_plist['NSCameraUsageDescription'] = 'This app uses camera'
10 | app.info_plist['NSPhotoLibraryUsageDescription'] = 'This app uses Photo Library'
11 | end
12 |
--------------------------------------------------------------------------------
/ios/Camera/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.applicationFrame)
4 | @window.rootViewController = CameraViewController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Camera/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Camera/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Camera/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Camera/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Camera/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Camera/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Camera/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Camera/screenshot.png
--------------------------------------------------------------------------------
/ios/CircleLayout/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | resources/*.nib
4 | resources/*.momd
5 | resources/*.storyboardc
6 |
--------------------------------------------------------------------------------
/ios/CircleLayout/README.md:
--------------------------------------------------------------------------------
1 | CircleLayout.app
2 | ================
3 |
4 | This sample demonstrates the following concept: UICollectionView
5 |
6 | 
7 |
8 | This sample is a port of WWDC 2012's 219 session sample code.
9 |
--------------------------------------------------------------------------------
/ios/CircleLayout/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/ios'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'CircleLayout'
8 | end
9 |
--------------------------------------------------------------------------------
/ios/CircleLayout/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = ViewController.alloc.initWithCollectionViewLayout(CircleLayout.new)
5 | @window.makeKeyAndVisible
6 | true
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/ios/CircleLayout/app/cell.rb:
--------------------------------------------------------------------------------
1 | class Cell < UICollectionViewCell
2 | def initWithFrame(frame)
3 | if super
4 | contentView.layer.tap do |obj|
5 | obj.cornerRadius = 35.0
6 | obj.borderWidth = 1.0
7 | obj.borderColor = UIColor.whiteColor.CGColor
8 | end
9 | contentView.backgroundColor = UIColor.underPageBackgroundColor
10 | end
11 | self
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/ios/CircleLayout/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/CircleLayout/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/CircleLayout/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/CircleLayout/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/CircleLayout/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/CircleLayout/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/CircleLayout/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/CircleLayout/screenshot.png
--------------------------------------------------------------------------------
/ios/CircleLayout/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'CircleLayout'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Email/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | resources/*.nib
4 | resources/*.momd
5 | resources/*.storyboardc
6 |
--------------------------------------------------------------------------------
/ios/Email/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Email'
7 |
8 | app.frameworks += ['MessageUI']
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Email/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Email/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Email/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Email/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Email/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Email/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Email/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Email/screenshot.png
--------------------------------------------------------------------------------
/ios/Email/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Email'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/ios'
4 |
5 | begin
6 | require 'bundler'
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | # Use `rake config' to see complete project settings.
13 | app.name = 'ExtensionsAndFrameworks'
14 |
15 | app.target("extensions/today-extension", :extension)
16 | app.target("extensions/custom-keyboard", :extension)
17 |
18 | app.target("frameworks/my-shared-framework", :framework)
19 | end
20 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/custom-keyboard/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/custom-keyboard/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/custom-keyboard/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/extensions/custom-keyboard/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/today-extension/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/today-extension/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/extensions/today-extension/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/extensions/today-extension/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/ios-framework'
4 |
5 | begin
6 | require 'bundler'
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | # Use `rake config' to see complete project settings.
13 | app.name = 'my-shared-framework'
14 | end
15 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/app/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/app/.gitkeep
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/app/my_framework_class.rb:
--------------------------------------------------------------------------------
1 | module MyFrameworkModule
2 | def say_hello
3 | NSLog("Hello from the framework")
4 | end
5 | end
6 |
7 | class MyFrameworkClass
8 | extend MyFrameworkModule
9 | end
10 |
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/frameworks/my-shared-framework/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/ExtensionsAndFrameworks/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/ExtensionsAndFrameworks/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'ExtensionsAndFrameworks'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/FlappyBird/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | gem "rake"
4 |
--------------------------------------------------------------------------------
/ios/FlappyBird/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require "motion/project/template/ios"
4 |
5 | begin
6 | require "bundler"
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | app.name = "flappy"
13 | app.frameworks += ["SpriteKit", "GameController"]
14 | app.interface_orientations = [:portrait]
15 | end
16 |
--------------------------------------------------------------------------------
/ios/FlappyBird/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | controller = GameViewController.alloc.init
4 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
5 | @window.rootViewController = controller
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/FlappyBird/app/controllers/game_view_controller.rb:
--------------------------------------------------------------------------------
1 | class GameViewController < UIViewController
2 | def loadView
3 | view = SKView.new
4 | view.showsFPS = true
5 | view.showsNodeCount = true
6 | view.showsDrawCount = true
7 |
8 | self.view = view
9 | end
10 |
11 | def prefersStatusBarHidden
12 | true
13 | end
14 |
15 | def viewWillLayoutSubviews
16 | super
17 |
18 | unless self.view.scene
19 | scene = SkyLineScene.alloc.initWithSize(view.bounds.size)
20 | scene.scaleMode = SKSceneScaleModeAspectFill
21 | view.presentScene scene
22 | end
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/ios/FlappyBird/app/nodes/physical_ground.rb:
--------------------------------------------------------------------------------
1 | class PhysicalGround < SKNode
2 | def init
3 | super
4 |
5 | self.position = CGPointMake(160, 56)
6 | self.physicsBody = SKPhysicsBody.bodyWithRectangleOfSize(CGSizeMake(320, 112))
7 | self.physicsBody.categoryBitMask = SkyLineScene::WORLD
8 | self.physicsBody.dynamic = false
9 | self
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/ios/FlappyBird/app/sprites/pipe.rb:
--------------------------------------------------------------------------------
1 | class Pipe < SKSpriteNode
2 | def init(texture)
3 | self.initWithImageNamed(texture)
4 | self.physicsBody = SKPhysicsBody.bodyWithRectangleOfSize(size)
5 | self.physicsBody.categoryBitMask = SkyLineScene::WORLD
6 | self.physicsBody.dynamic = false
7 | self
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/bird_one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/bird_one.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/bird_three.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/bird_three.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/bird_two.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/bird_two.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/ground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/ground.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/pipe_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/pipe_down.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/pipe_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/pipe_up.png
--------------------------------------------------------------------------------
/ios/FlappyBird/resources/skyline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/resources/skyline.png
--------------------------------------------------------------------------------
/ios/FlappyBird/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/FlappyBird/screenshot.png
--------------------------------------------------------------------------------
/ios/FlappyBird/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'flappy'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Fonts/README.md:
--------------------------------------------------------------------------------
1 | Fonts.app
2 | =========
3 |
4 | This sample demonstrates the following concepts: Table View, Accessory View, Fonts.
5 |
6 | 
7 |
8 | This sample was contributed by Samuel Chandra. https://github.com/samchandra/Fonts
9 |
--------------------------------------------------------------------------------
/ios/Fonts/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Fonts'
7 | app.frameworks += ['QuartzCore']
8 | end
9 |
--------------------------------------------------------------------------------
/ios/Fonts/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = UINavigationController.alloc.initWithRootViewController(RootController.alloc.init)
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Fonts/resources/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Fonts/resources/.gitkeep
--------------------------------------------------------------------------------
/ios/Fonts/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Fonts/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Fonts/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Fonts/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Fonts/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Fonts/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Fonts/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Fonts/screenshot.png
--------------------------------------------------------------------------------
/ios/Fonts/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Fonts'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/GestureTable/README.md:
--------------------------------------------------------------------------------
1 | Gesture Table.app
2 | =================
3 |
4 | This sample demonstrates a table view that interacts with gestures as found in the Clear iPhone app. http://www.realmacsoftware.com/clear
5 |
6 | 
7 |
8 | The code of this sample was originally a Ruby translation of the following
9 | Objective-C project: https://github.com/mystcolor/JTGestureBasedTableViewDemo
10 |
11 | Initial port was done by Josh Ballanco .
12 |
--------------------------------------------------------------------------------
/ios/GestureTable/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Gesture Table'
7 | app.frameworks += ['QuartzCore']
8 | end
9 |
--------------------------------------------------------------------------------
/ios/GestureTable/app/UITableView_extensions.rb:
--------------------------------------------------------------------------------
1 | class UITableView
2 | def reloadVisibleRowsExceptIndexPath(indexPath)
3 | visibleRows = indexPathsForVisibleRows.mutableCopy
4 | visibleRows.removeObject(indexPath)
5 | reloadRowsAtIndexPaths(visibleRows, withRowAnimation: UITableViewRowAnimationNone)
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/ios/GestureTable/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | application.setStatusBarStyle(UIStatusBarStyleBlackOpaque)
4 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
5 | @window.rootViewController = UINavigationController.alloc.initWithRootViewController(ViewController.new)
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/GestureTable/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/GestureTable/resources/.gitignore
--------------------------------------------------------------------------------
/ios/GestureTable/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/GestureTable/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/GestureTable/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/GestureTable/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/GestureTable/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/GestureTable/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/GestureTable/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/GestureTable/screenshot.png
--------------------------------------------------------------------------------
/ios/Hello/README.md:
--------------------------------------------------------------------------------
1 | Hello.app
2 | =========
3 |
4 | This sample demonstrates the following concepts: Custom View Drawing, Touches.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/ios/Hello/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Hello'
7 | app.icons << 'icon.png'
8 | end
9 |
--------------------------------------------------------------------------------
/ios/Hello/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = HelloViewController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Hello/app/hello_view_controller.rb:
--------------------------------------------------------------------------------
1 | class HelloViewController < UIViewController
2 | def loadView
3 | self.view = HelloView.alloc.init
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/ios/Hello/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Hello/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Hello/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Hello/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Hello/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/resources/icon.png
--------------------------------------------------------------------------------
/ios/Hello/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Hello/screenshot.png
--------------------------------------------------------------------------------
/ios/HelloGL/README.md:
--------------------------------------------------------------------------------
1 | HelloGL.app
2 | ===========
3 |
4 | This sample demonstrates the following concepts: GLKit (OpenGL).
5 |
6 | 
7 |
8 | This sample has been contributed by Pete Schwamb. It's basically a port of
9 | Ray Wenderlich's code in his nice GLKit tutorial.
10 |
11 | https://github.com/ps2/MotionGL
12 | http://www.raywenderlich.com/5223/beginning-opengl-es-2-0-with-glkit-part-1
13 |
--------------------------------------------------------------------------------
/ios/HelloGL/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'HelloGL'
7 |
8 | app.frameworks << 'OpenGLES'
9 | app.frameworks << 'QuartzCore'
10 | app.frameworks << 'GLKit'
11 | end
12 |
--------------------------------------------------------------------------------
/ios/HelloGL/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 |
5 | @window.backgroundColor = UIColor.whiteColor
6 | @window.makeKeyAndVisible()
7 |
8 | viewController = MotionGLController.alloc.initWithNibName(nil, bundle:nil)
9 | @window.addSubview(viewController.view)
10 | viewController.preferredFramesPerSecond = 60
11 | @window.rootViewController = viewController
12 | true
13 | end
14 |
15 |
16 | end
17 |
--------------------------------------------------------------------------------
/ios/HelloGL/app/index_data.rb:
--------------------------------------------------------------------------------
1 | class IndexData
2 | attr_accessor :ptr
3 |
4 | def initialize(data)
5 | @num_indices = data.count
6 | @ptr = Pointer.new(:uchar, @num_indices)
7 | set_data(data)
8 | end
9 |
10 | def set_data(indices)
11 | indices.each_with_index do |index,offset|
12 | @ptr[offset] = index
13 | end
14 | end
15 |
16 | def size
17 | @num_indices
18 | end
19 | end
--------------------------------------------------------------------------------
/ios/HelloGL/app/vertex_data.rb:
--------------------------------------------------------------------------------
1 | class VertexData
2 | attr_accessor :ptr
3 |
4 | def initialize(data)
5 | @vertex_size = data[0].count
6 | @num_vertices = data.count
7 | @ptr = Pointer.new(:float, @vertex_size * @num_vertices)
8 | set_data(data)
9 | end
10 |
11 | def set_data(vertices)
12 | vertices.each_with_index do |vertex,idx|
13 | vertex.each_with_index do |component, component_idx|
14 | @ptr[idx * @vertex_size + component_idx] = component
15 | end
16 | end
17 | end
18 |
19 | def size
20 | @vertex_size * @num_vertices
21 | end
22 | end
--------------------------------------------------------------------------------
/ios/HelloGL/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/HelloGL/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/HelloGL/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/HelloGL/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/HelloGL/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/HelloGL/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/HelloGL/resources/rubymotion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/HelloGL/resources/rubymotion.png
--------------------------------------------------------------------------------
/ios/HelloGL/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/HelloGL/screenshot.png
--------------------------------------------------------------------------------
/ios/HelloGL/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'MotionGL'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Locations/README.md:
--------------------------------------------------------------------------------
1 | Locations.app
2 | =============
3 |
4 | This sample demonstrates the following concepts: Table View, Core Location, Core Data.
5 |
6 | 
7 |
8 | To use this app in the simulator, select a location in the Debug / Location menu.
9 |
--------------------------------------------------------------------------------
/ios/Locations/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Locations'
7 | app.frameworks += ['CoreData', 'CoreLocation']
8 |
9 | # Description for the Location service allow dialog
10 | app.info_plist['NSLocationAlwaysUsageDescription'] = 'Description'
11 | app.info_plist['NSLocationWhenInUseUsageDescription'] = 'Description'
12 | end
13 |
--------------------------------------------------------------------------------
/ios/Locations/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | nav = UINavigationController.alloc.initWithRootViewController(LocationsController.alloc.init)
4 | nav.wantsFullScreenLayout = true
5 | nav.toolbarHidden = true
6 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
7 | @window.rootViewController = nav
8 | @window.makeKeyAndVisible
9 | true
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/ios/Locations/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Locations/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Locations/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Locations/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Locations/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Locations/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Locations/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Locations/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Locations/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Locations/screenshot.png
--------------------------------------------------------------------------------
/ios/MoveMe/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | resources/*.nib
4 | resources/*.momd
5 | resources/*.storyboardc
6 |
--------------------------------------------------------------------------------
/ios/MoveMe/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'MoveMeRuby'
7 | end
8 |
--------------------------------------------------------------------------------
/ios/MoveMe/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 |
3 | def application(application, didFinishLaunchingWithOptions: launchOptions)
4 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
5 | @window.rootViewController = MoveMeViewController.alloc.init
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 |
10 | end
11 |
--------------------------------------------------------------------------------
/ios/MoveMe/app/move_me_view_controller.rb:
--------------------------------------------------------------------------------
1 | class MoveMeViewController < UIViewController
2 |
3 | def loadView
4 | super
5 | self.view = MoveMeView.alloc.initWithFrame(UIScreen.mainScreen.bounds)
6 | end
7 |
8 | end
9 |
--------------------------------------------------------------------------------
/ios/MoveMe/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/MoveMe/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/MoveMe/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/MoveMe/resources/DisplayStrings.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/resources/DisplayStrings.txt
--------------------------------------------------------------------------------
/ios/MoveMe/resources/Placard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/resources/Placard.png
--------------------------------------------------------------------------------
/ios/MoveMe/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/MoveMe/screenshot.png
--------------------------------------------------------------------------------
/ios/MoveMe/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'MoveMeRuby'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Mustache/README.md:
--------------------------------------------------------------------------------
1 | Mustache.app
2 | ============
3 |
4 | This sample demonstrates the following concepts: Images, Face Recognition, Gestures.
5 |
6 | 
7 |
8 | The code was inspired from a similar MacRuby sample, and only works on an iPhone 4 resolution (use ``rake device_name="iPhone 4"`` for the simulator).
9 |
--------------------------------------------------------------------------------
/ios/Mustache/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | #ENV['debug'] ||= '0' # Because the REPL cannot be loaded with CoreImage yet.
5 |
6 | Motion::Project::App.setup do |app|
7 | # Use `rake config' to see complete project settings.
8 | app.name = 'Mustache'
9 | app.frameworks += ['QuartzCore', 'CoreImage']
10 | end
11 |
--------------------------------------------------------------------------------
/ios/Mustache/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = MustacheViewController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Mustache/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Mustache/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Mustache/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Mustache/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Mustache/resources/guido.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/guido.jpg
--------------------------------------------------------------------------------
/ios/Mustache/resources/jmccolor.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/jmccolor.jpg
--------------------------------------------------------------------------------
/ios/Mustache/resources/kay.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/kay.jpg
--------------------------------------------------------------------------------
/ios/Mustache/resources/matz.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/matz.jpg
--------------------------------------------------------------------------------
/ios/Mustache/resources/mustache.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/resources/mustache.png
--------------------------------------------------------------------------------
/ios/Mustache/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Mustache/screenshot.png
--------------------------------------------------------------------------------
/ios/Paint/README.md:
--------------------------------------------------------------------------------
1 | Paint.app
2 | =========
3 |
4 | This sample demonstrates the following concepts: Custom View Drawing, Bezier Paths, Gestures, Audio Player.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/ios/Paint/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Paint'
7 | app.frameworks << 'AVFoundation'
8 | end
9 |
--------------------------------------------------------------------------------
/ios/Paint/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = PaintViewController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Paint/app/paint_view_controller.rb:
--------------------------------------------------------------------------------
1 | class PaintViewController < UIViewController
2 | def loadView
3 | self.view = PaintView.alloc.init
4 | end
5 |
6 | def canBecomeFirstResponder
7 | true
8 | end
9 |
10 | def motionEnded(motion, withEvent:event)
11 | self.view.eraseContent if motion == UIEventSubtypeMotionShake
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/ios/Paint/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Paint/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Paint/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Paint/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Paint/resources/erase.caf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/resources/erase.caf
--------------------------------------------------------------------------------
/ios/Paint/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Paint/screenshot.png
--------------------------------------------------------------------------------
/ios/PaintHTML/README.md:
--------------------------------------------------------------------------------
1 | PaintHTML.app
2 | =============
3 |
4 | This sample demonstrates the following concepts: WebView, HTML5 backend.
5 |
6 | 
7 |
8 | This sample shows how to wrap a full-screen HTML5 app into a RubyMotion app.
9 | It was contributed by Thijs van der Vossen.
10 |
11 | https://github.com/tvandervossen/motion-webview
12 |
--------------------------------------------------------------------------------
/ios/PaintHTML/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'PaintHTML'
7 | app.device_family = [:iphone, :ipad]
8 | # Set the status bar style, other options are UIStatusBarStyleDefault and UIStatusBarStyleBlackOpaque
9 | app.info_plist['UIStatusBarStyle'] = 'UIStatusBarStyleBlackTranslucent'
10 | end
11 |
--------------------------------------------------------------------------------
/ios/PaintHTML/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | # Remove the following line if you don't want the status bar to be hidden
4 | UIApplication.sharedApplication.setStatusBarHidden(true, withAnimation:UIStatusBarAnimationFade)
5 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
6 | @window.rootViewController = WebViewController.alloc.init
7 | @window.makeKeyAndVisible
8 | true
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/ios/PaintHTML/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/PaintHTML/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/PaintHTML/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/PaintHTML/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/PaintHTML/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/PaintHTML/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/PaintHTML/resources/index2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Sketch
7 |
8 |
9 |
10 | Relative link to drawing web app
11 | Absolute link, should open in Mobile Safari
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ios/PaintHTML/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/PaintHTML/screenshot.png
--------------------------------------------------------------------------------
/ios/PaintHTML/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'WebView'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/RedditSearch/README.md:
--------------------------------------------------------------------------------
1 | Reddit Search.app
2 | =================
3 |
4 | This sample demonstrates the following concepts: Table View, Custom Table View Cells, Grand Central Dispatch, JSON.
5 |
6 | 
7 |
8 | This app is a modified version of the original app for Twitter. The original app was dependant on the defunct twitter api v1.0 in order to search.
9 |
--------------------------------------------------------------------------------
/ios/RedditSearch/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Reddit Search'
7 | app.info_plist['NSAppTransportSecurity'] = {
8 | 'NSExceptionDomains' => {
9 | 'www.reddit.com' => { 'NSTemporaryExceptionAllowsInsecureHTTPLoads' => true }
10 | }
11 | }
12 | end
13 |
--------------------------------------------------------------------------------
/ios/RedditSearch/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.applicationFrame)
4 | @window.rootViewController = RedditController.alloc.initWithStyle(UITableViewStylePlain)
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/RedditSearch/app/data_parser.rb:
--------------------------------------------------------------------------------
1 | class DataParser
2 | def self.parse(url)
3 | error_ptr = Pointer.new(:object)
4 | data = NSData.alloc.initWithContentsOfURL(NSURL.URLWithString(url), options:NSDataReadingUncached, error:error_ptr)
5 | unless data
6 | raise error_ptr[0]
7 | end
8 | data
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/ios/RedditSearch/app/json_parser.rb:
--------------------------------------------------------------------------------
1 | class JSONParser
2 | def self.parse_from_url(url)
3 | data = DataParser.parse(url)
4 |
5 | error_ptr = Pointer.new(:object)
6 | json = NSJSONSerialization.JSONObjectWithData(data, options:0, error:error_ptr)
7 | unless json
8 | raise error_ptr[0]
9 | end
10 | json
11 | end
12 | end
13 |
--------------------------------------------------------------------------------
/ios/RedditSearch/app/post.rb:
--------------------------------------------------------------------------------
1 | class Post
2 | attr_reader :author, :message, :profile_image_url
3 | attr_accessor :profile_image
4 |
5 | def initialize(dict)
6 | @author = dict['author']
7 | @message = dict['title']
8 | @profile_image_url = dict['thumbnail']
9 | @profile_image = nil
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/ios/RedditSearch/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/resources/.gitignore
--------------------------------------------------------------------------------
/ios/RedditSearch/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/RedditSearch/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/RedditSearch/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/RedditSearch/resources/reddit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/resources/reddit.png
--------------------------------------------------------------------------------
/ios/RedditSearch/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/RedditSearch/screenshot.png
--------------------------------------------------------------------------------
/ios/SpaceRocks/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/README.md:
--------------------------------------------------------------------------------
1 | SpaceRocks.app
2 | ==============
3 |
4 | This sample demonstrates the following concepts from SpriteKit: SKScene, SKNode and SKPhysicsBody.
5 |
6 | 
7 |
8 | The original Objective-C code can be found in the Apple guide [Jumping in to SpriteKit](https://developer.apple.com/library/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/GettingStarted/GettingStarted.html).
9 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require "motion/project/template/ios"
4 |
5 | begin
6 | require "bundler"
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | app.name = "SpaceRocks"
13 | app.frameworks += ["SpriteKit"]
14 | end
15 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | scene_view = SceneViewController.alloc.init
4 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
5 | @window.rootViewController = scene_view
6 | @window.makeKeyAndVisible
7 |
8 | true
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/app/scene_view.rb:
--------------------------------------------------------------------------------
1 | class SceneView < SKView
2 | def init
3 | super
4 | self.showsDrawCount = true
5 | self.showsNodeCount = true
6 | self.showsFPS = true
7 | self
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/app/scene_view_controller.rb:
--------------------------------------------------------------------------------
1 | class SceneViewController < UIViewController
2 | def viewDidLoad
3 | super
4 | self.view = SceneView.alloc.init
5 | end
6 |
7 | def viewWillAppear(animated)
8 | hello = HelloScene.alloc.initWithSize(CGSizeMake(768,1024))
9 | self.view.presentScene hello
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/ios/SpaceRocks/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/SpaceRocks/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/SpaceRocks/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/SpaceRocks/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/SpaceRocks/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/SpaceRocks/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/SpaceRocks/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/SpaceRocks/screenshot.png
--------------------------------------------------------------------------------
/ios/SpaceRocks/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'spritekit-sample'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/.gitignore:
--------------------------------------------------------------------------------
1 | resources/Master.storyboardc
2 |
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'StoryboardCustoms'
7 | end
8 |
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 |
5 | storyboard = UIStoryboard.storyboardWithName("Master", bundle:nil)
6 | rootVC = storyboard.instantiateViewControllerWithIdentifier("Main")
7 |
8 | @window.rootViewController = rootVC
9 | @window.makeKeyAndVisible
10 | true
11 | end
12 | end
13 |
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/app/helpers.rb:
--------------------------------------------------------------------------------
1 | def retrieve_subview_with_tag(topview,tag)
2 | retval = topview.view.subviews.find { |v| v.tag == tag }
3 | retval ||= topview.view
4 | end
5 |
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/StoryboardCustoms/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/StoryboardCustoms/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/StoryboardCustoms/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/StoryboardCustoms/screenshot.png
--------------------------------------------------------------------------------
/ios/StoryboardCustoms/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'StoryboardCustoms'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/TicTacToe/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | resources/*.nib
4 | resources/*.momd
5 | resources/*.storyboardc
6 |
--------------------------------------------------------------------------------
/ios/TicTacToe/README.md:
--------------------------------------------------------------------------------
1 | TicTacToe.app
2 | =============
3 |
4 | This sample demonstrates the following concepts: Custom Views, Touch Events.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/ios/TicTacToe/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'TicTacMotion'
7 | end
8 |
--------------------------------------------------------------------------------
/ios/TicTacToe/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = BoardViewController.alloc.init
5 | @window.makeKeyAndVisible
6 | true
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/ios/TicTacToe/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/TicTacToe/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/TicTacToe/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/TicTacToe/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/TicTacToe/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/TicTacToe/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/TicTacToe/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/TicTacToe/screenshot.png
--------------------------------------------------------------------------------
/ios/TicTacToe/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'TicTacToe'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Timer/README.md:
--------------------------------------------------------------------------------
1 | Timer.app
2 | =========
3 |
4 | This sample demonstrates the following concepts: Timer, Label, Button.
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/ios/Timer/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'Timer'
7 | end
8 |
--------------------------------------------------------------------------------
/ios/Timer/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = TimerController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Timer/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Timer/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Timer/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Timer/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Timer/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Timer/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Timer/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Timer/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Timer/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Timer/screenshot.png
--------------------------------------------------------------------------------
/ios/Trollify/README.md:
--------------------------------------------------------------------------------
1 | Trollify.app
2 | ============
3 |
4 | This sample demonstrates the following concepts: Images, Image Picker, Camera Roll, Action Sheet, Gestures.
5 |
6 | 
7 |
8 | This sample was contributed by Johannes Fahrenkrug, http://springenwerk.com
9 | The app/uiimage_extension.rb file is derived from code by Hardy Macia, Catamount Software.
10 |
--------------------------------------------------------------------------------
/ios/Trollify/Rakefile:
--------------------------------------------------------------------------------
1 | $:.unshift("/Library/RubyMotion/lib")
2 | require 'motion/project/template/ios'
3 |
4 | Motion::Project::App.setup do |app|
5 | # Use `rake config' to see complete project settings.
6 | app.name = 'trollify'
7 | app.frameworks += ['QuartzCore', 'AssetsLibrary', 'MobileCoreServices']
8 | app.icons = ['icon.png', 'icon@2x.png']
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Trollify/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = UINavigationController.alloc.initWithRootViewController(ImageCompositionController.alloc.init)
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 | true
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/ios/Trollify/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/.gitignore
--------------------------------------------------------------------------------
/ios/Trollify/resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/ios/Trollify/resources/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/Default-667h@2x.png
--------------------------------------------------------------------------------
/ios/Trollify/resources/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/Default-736h@3x.png
--------------------------------------------------------------------------------
/ios/Trollify/resources/ballmer.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/ballmer.jpg
--------------------------------------------------------------------------------
/ios/Trollify/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/icon.png
--------------------------------------------------------------------------------
/ios/Trollify/resources/icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/icon@2x.png
--------------------------------------------------------------------------------
/ios/Trollify/resources/trollface.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/resources/trollface.png
--------------------------------------------------------------------------------
/ios/Trollify/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/ios/Trollify/screenshot.png
--------------------------------------------------------------------------------
/ios/Trollify/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'trollify'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/Calc/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 |
--------------------------------------------------------------------------------
/osx/Calc/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/osx/Calc/README:
--------------------------------------------------------------------------------
1 | Calc.app
2 |
3 | This sample demonstrates the following concepts: #eval for OSX
4 | (http://blog.rubymotion.com/post/65685097257/new-in-rubymotion-mavericks-eval-for-os-x)
--------------------------------------------------------------------------------
/osx/Calc/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | begin
6 | require 'bundler'
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | # Use `rake config' to see complete project settings.
13 | app.name = 'Calc'
14 | app.eval_support = true
15 | end
16 |
--------------------------------------------------------------------------------
/osx/Calc/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/Calc/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Calc'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/CircleView/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 |
--------------------------------------------------------------------------------
/osx/CircleView/README:
--------------------------------------------------------------------------------
1 | CircleView.app
2 |
3 | This sample demonstrates the following concepts: custom NSView, event handling,
4 | NSAffineTransform, text layout and rendering.
5 |
--------------------------------------------------------------------------------
/osx/CircleView/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'CircleView'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/CircleView/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/CircleView/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'CircleView'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/DotView/README:
--------------------------------------------------------------------------------
1 | DotView.app
2 |
3 | This sample demonstrates the following concepts: NSView subclassing,
4 | event handling, bezier path drawing, slider, color well button.
5 |
--------------------------------------------------------------------------------
/osx/DotView/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'DotView'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/DotView/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/DotView/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'DotView'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/FileSystemBrowser/README:
--------------------------------------------------------------------------------
1 | FileSystemBrowser.app
2 |
3 | This sample demonstrates the following concepts: NSOutlineView.
4 |
--------------------------------------------------------------------------------
/osx/FileSystemBrowser/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'File System Browser'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/FileSystemBrowser/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/FileSystemBrowser/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'OutlineView'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/FlickrBrowser/README:
--------------------------------------------------------------------------------
1 | FlickrBrowser.app
2 |
3 | This sample demonstrates the following concepts: ImageKit framework
4 | (IKImageBrowserView), PubSub framework (PSFeed), Grand Central Dispatch,
5 | toolbar, notifications.
6 |
--------------------------------------------------------------------------------
/osx/FlickrBrowser/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/FlickrBrowser/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'FlickrBrowser'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/ImageTransition/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'ImageTransition'
8 | app.frameworks << 'Quartz'
9 | end
10 |
--------------------------------------------------------------------------------
/osx/ImageTransition/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def applicationDidFinishLaunching(notification)
3 | buildMenu
4 | @controller = MyWindowController.alloc.init
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/osx/ImageTransition/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320
2 | {\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
3 | {\colortbl;\red255\green255\blue255;}
4 | \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\qc
5 |
6 | \f0\fs20 \cf0 Demonstrates how to use Core Animation\
7 | and Core Image for transitioning\
8 | between image views.\
9 | }
--------------------------------------------------------------------------------
/osx/ImageTransition/resources/Lake Don Pedro1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/ImageTransition/resources/Lake Don Pedro1.jpg
--------------------------------------------------------------------------------
/osx/ImageTransition/resources/Lake Don Pedro2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/ImageTransition/resources/Lake Don Pedro2.jpg
--------------------------------------------------------------------------------
/osx/ImageTransition/resources/restrictedshine.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/ImageTransition/resources/restrictedshine.tiff
--------------------------------------------------------------------------------
/osx/ImageTransition/resources/transitionmask.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/ImageTransition/resources/transitionmask.jpg
--------------------------------------------------------------------------------
/osx/ImageTransition/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'ImageTransition'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/Markdown/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 | gem 'motion-cocoapods'
--------------------------------------------------------------------------------
/osx/Markdown/README:
--------------------------------------------------------------------------------
1 | Markdown.app
2 |
3 | This sample demonstrates the following concepts: WebKit and using 3rd-party library.
4 |
--------------------------------------------------------------------------------
/osx/Markdown/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | begin
6 | require 'bundler'
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | # Use `rake config' to see complete project settings.
13 | app.name = 'Markdown'
14 | app.frameworks << 'WebKit'
15 | app.pods do
16 | pod "GHMarkdownParser"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/osx/Markdown/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/Markdown/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Markdown'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/NSTableViewBinding/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'NSTableViewBinding'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/NSTableViewBinding/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def applicationDidFinishLaunching(notification)
3 | buildMenu
4 | @controller = MyWindowController.alloc.init
5 | end
6 |
7 | def openReadMe(sender)
8 | fullPath = NSBundle.mainBundle.pathForResource("ReadMe", ofType:"txt")
9 | NSWorkspace.sharedWorkspace.openFile(fullPath)
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/osx/NSTableViewBinding/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/NSTableViewBinding/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'NSTableViewBinding'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/PagePacker/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'PagePacker'
8 | app.icon = 'PPApp'
9 | app.frameworks << 'Quartz'
10 | app.info_plist['NSMainNibFile'] = 'MainMenu'
11 | app.info_plist['CFBundleDocumentTypes'] = [{
12 | 'CFBundleTypeIconFile' => 'PPApp.icns',
13 | 'CFBundleTypeName' => 'DocumentType',
14 | 'CFBundleTypeRole' => 'Editor',
15 | 'NSDocumentClass' => 'MyDocument'}]
16 | end
17 |
--------------------------------------------------------------------------------
/osx/PagePacker/app/AppController.rb:
--------------------------------------------------------------------------------
1 | class AppController
2 | def applicationDidFinishLaunching(note)
3 | CatalogController.sharedCatalogController.showWindow nil
4 | end
5 | end
--------------------------------------------------------------------------------
/osx/PagePacker/app/GeometryUtilities.rb:
--------------------------------------------------------------------------------
1 | def distanceSquaredBetweenPoints(p1, p2)
2 | deltaX = p1.x - p2.x
3 | deltaY = p1.y - p2.y
4 | (deltaX * deltaX) - (deltaY * deltaY)
5 | end
6 |
7 | def distanceBetweenPoints(p1, p2)
8 | Math.sqrt distanceSquaredBetweenPoints(p1, p2)
9 | end
--------------------------------------------------------------------------------
/osx/PagePacker/app/PDFUtility.rb:
--------------------------------------------------------------------------------
1 | def pdfFromAttributedStringOfSize(attString, size)
2 | v = TextDisplayView.alloc.initWithPageSize size, attributedString:attString
3 | v.dataWithPDFInsideRect v.bounds
4 | end
--------------------------------------------------------------------------------
/osx/PagePacker/app/TextDisplayView.rb:
--------------------------------------------------------------------------------
1 | class TextDisplayView < NSView
2 | def initWithPageSize(size, attributedString:attString)
3 | frame = NSMakeRect(0, 0, size.width, size.height)
4 | @pageSize = size
5 | @attString = attString.copy
6 | initWithFrame frame
7 | end
8 |
9 | def isFlipped; true; end
10 |
11 | def drawRect(rect)
12 | rect = NSInsetRect(self.bounds, 3, 3)
13 | @attString.drawInRect rect
14 | end
15 | end
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/PagePackerHelp.helpindex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/PagePackerHelp.helpindex
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/abprint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/abprint.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/addpage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/addpage.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/catalog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/catalog.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/cut.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/cut.jpg
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold1.jpg
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold2.jpg
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/fold3.jpg
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/iCal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/iCal.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/noword.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/noword.gif
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/ready2print.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/ready2print.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/voila.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/voila.jpg
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/webpage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/graphics/webpage.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/English.lproj/PagePackerHelp/ppicon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/English.lproj/PagePackerHelp/ppicon16.png
--------------------------------------------------------------------------------
/osx/PagePacker/resources/Generic.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/Generic.icns
--------------------------------------------------------------------------------
/osx/PagePacker/resources/PPApp.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/PPApp.icns
--------------------------------------------------------------------------------
/osx/PagePacker/resources/pages.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/PagePacker/resources/pages.pdf
--------------------------------------------------------------------------------
/osx/PagePacker/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'PagePacker'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/PathDemo/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 |
--------------------------------------------------------------------------------
/osx/PathDemo/README:
--------------------------------------------------------------------------------
1 | PathDemo.app
2 |
3 | This sample demonstrates the following concepts: Path operations (circles,
4 | rectangles, Bezier paths), NSView, custom drawing, print operation.
5 |
--------------------------------------------------------------------------------
/osx/PathDemo/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'PathDemo'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/PathDemo/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/PathDemo/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'PathDemo'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/RssReader/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 |
--------------------------------------------------------------------------------
/osx/RssReader/README:
--------------------------------------------------------------------------------
1 | RssReader.app
2 |
3 | This sample demonstrates the following concepts: NSTableView, XML parsing,
4 | Grand Central Dispatch.
5 |
--------------------------------------------------------------------------------
/osx/RssReader/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'RssReader'
8 | end
9 |
--------------------------------------------------------------------------------
/osx/RssReader/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | attr_reader :window
3 |
4 | def applicationDidFinishLaunching(notification)
5 | buildMenu
6 | buildWindow
7 |
8 | @controller = RssReaderController.new
9 | end
10 |
11 | def buildWindow
12 | @window = NSWindow.alloc.initWithContentRect([[240, 180], [480, 360]],
13 | styleMask: NSTitledWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask,
14 | backing: NSBackingStoreBuffered,
15 | defer: false)
16 | @window.title = NSBundle.mainBundle.infoDictionary['CFBundleName']
17 | @window.orderFrontRegardless
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/osx/RssReader/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/RssReader/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'RssReader'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/Scenario/README:
--------------------------------------------------------------------------------
1 | Scenario.app
2 |
3 | This sample demonstrates the following concepts: Auto Layout, SceneKit, NSToolbar and Grand Central Dispatch.
4 |
--------------------------------------------------------------------------------
/osx/Scenario/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | Motion::Project::App.setup do |app|
6 | # Use `rake config' to see complete project settings.
7 | app.name = 'Scenario'
8 | app.frameworks += %W[OpenGL SceneKit ApplicationServices QuartzCore CoreGraphics]
9 | end
10 |
--------------------------------------------------------------------------------
/osx/Scenario/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def applicationDidFinishLaunching(notification)
3 | buildMenu
4 | @win_controller = SceneWindowController.alloc.init
5 | @win_controller.showWindow self
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/osx/Scenario/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/Scenario/resources/Cue-Pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/Cue-Pause.png
--------------------------------------------------------------------------------
/osx/Scenario/resources/Cue-Play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/Cue-Play.png
--------------------------------------------------------------------------------
/osx/Scenario/resources/Cue-Stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/Cue-Stop.png
--------------------------------------------------------------------------------
/osx/Scenario/resources/earthlights1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/earthlights1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/earthmap1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/earthmap1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/earthnormal1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/earthnormal1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/earthspec1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/earthspec1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/moonmap1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/moonmap1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/moonnormal1k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/moonnormal1k.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/wood.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/wood.jpg
--------------------------------------------------------------------------------
/osx/Scenario/resources/wood.pxm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Scenario/resources/wood.pxm
--------------------------------------------------------------------------------
/osx/Scenario/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Scenario'" do
2 | before do
3 | @app = NSApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/README.md:
--------------------------------------------------------------------------------
1 | Temperature Converter.app
2 |
3 | This sample demonstrates the following concepts: NSForm, NSFormCell,
4 | Bindings, NSValueTransformer, NSUserDefaults, NSNumberFormatter and NSUserDefaultsController
5 |
6 | 
7 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/osx'
4 |
5 | begin
6 | require 'bundler'
7 | if ARGV.join(' ') =~ /spec/
8 | Bundler.require :default, :spec
9 | else
10 | Bundler.require
11 | end
12 | rescue LoadError
13 | end
14 |
15 | Motion::Project::App.setup do |app|
16 | # Use `rake config' to see complete project settings.
17 | app.name = 'Temperature Converter'
18 | app.delegate_class = 'TemperatureConverterDelegate'
19 | app.info_plist['CFBundleIconFile'] = 'icon.icns'
20 | end
21 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/image.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Temperature Converter/image.PNG
--------------------------------------------------------------------------------
/osx/Temperature Converter/resources/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
2 | {\colortbl;\red255\green255\blue255;}
3 | \paperw9840\paperh8400
4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
5 |
6 | \f0\b\fs24 \cf0 Engineering:
7 | \b0 \
8 | Some people\
9 | \
10 |
11 | \b Human Interface Design:
12 | \b0 \
13 | Some other people\
14 | \
15 |
16 | \b Testing:
17 | \b0 \
18 | Hopefully not nobody\
19 | \
20 |
21 | \b Documentation:
22 | \b0 \
23 | Whoever\
24 | \
25 |
26 | \b With special thanks to:
27 | \b0 \
28 | Mom\
29 | }
30 |
--------------------------------------------------------------------------------
/osx/Temperature Converter/resources/icon.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/osx/Temperature Converter/resources/icon.icns
--------------------------------------------------------------------------------
/osx/Temperature Converter/spec/0shared_value_transformer_spec.rb:
--------------------------------------------------------------------------------
1 | shared 'ValueTransformer' do
2 | it 'is allowed to reserve transform' do
3 | @transformer.class.allowsReverseTransformation.should.be.true
4 | end
5 |
6 | it 'its transformed value class is NSNumber' do
7 | @transformer.class.transformedValueClass.should.be == NSNumber
8 | end
9 | end
--------------------------------------------------------------------------------
/osx/Temperature Converter/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'Temperatur'" do
2 |
3 | before do
4 | @app = NSApplication.sharedApplication
5 | end
6 |
7 | it "has one window" do
8 | @app.windows.size.should == 1
9 | end
10 | end
--------------------------------------------------------------------------------
/osx/Temperature Converter/spec/window_controller_spec.rb:
--------------------------------------------------------------------------------
1 | describe 'WindowController' do
2 | # tests WindowController
3 |
4 | before { @controller = NSApp.delegate.windowController }
5 |
6 | it 'form should have 8 cells' do
7 | @controller.form.cells.count.should.be == 8
8 | end
9 |
10 | it '32°C for Celsius' do
11 | view = @controller.form.cellAtIndex(1)
12 | view.title = "32"
13 | view = @controller.form.cellAtIndex(2)
14 | # fahrenheit = view.stringValue
15 | # fahrenheit.should.equal '89,6'
16 | view.should.not == nil
17 | end
18 | end
--------------------------------------------------------------------------------
/tvos/Timer/.gitignore:
--------------------------------------------------------------------------------
1 | .repl_history
2 | build
3 | tags
4 | app/pixate_code.rb
5 | resources/*.nib
6 | resources/*.momd
7 | resources/*.storyboardc
8 | .DS_Store
9 | nbproject
10 | .redcar
11 | #*#
12 | *~
13 | *.sw[po]
14 | .eprj
15 | .sass-cache
16 | .idea
17 | .dat*.*
18 |
--------------------------------------------------------------------------------
/tvos/Timer/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'rake'
4 | # Add your dependencies here:
5 |
--------------------------------------------------------------------------------
/tvos/Timer/Rakefile:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | $:.unshift("/Library/RubyMotion/lib")
3 | require 'motion/project/template/tvos'
4 |
5 | begin
6 | require 'bundler'
7 | Bundler.require
8 | rescue LoadError
9 | end
10 |
11 | Motion::Project::App.setup do |app|
12 | # Use `rake config' to see complete project settings.
13 | app.name = 'Timer'
14 | end
15 |
--------------------------------------------------------------------------------
/tvos/Timer/app/app_delegate.rb:
--------------------------------------------------------------------------------
1 | class AppDelegate
2 | def application(application, didFinishLaunchingWithOptions:launchOptions)
3 | @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
4 | @window.rootViewController = TimerController.alloc.init
5 | @window.rootViewController.wantsFullScreenLayout = true
6 | @window.makeKeyAndVisible
7 |
8 | true
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "large.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/large.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "layers" : [
3 | {
4 | "filename" : "Front.imagestacklayer"
5 | },
6 | {
7 | "filename" : "Middle.imagestacklayer"
8 | },
9 | {
10 | "filename" : "Back.imagestacklayer"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "large.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/large.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "large.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/large.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "small.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/small.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "layers" : [
3 | {
4 | "filename" : "Front.imagestacklayer"
5 | },
6 | {
7 | "filename" : "Middle.imagestacklayer"
8 | },
9 | {
10 | "filename" : "Back.imagestacklayer"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "small.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/small.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "small.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/small.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "tv",
5 | "filename" : "topshelf.png",
6 | "scale" : "1x"
7 | }
8 | ],
9 | "info" : {
10 | "version" : 1,
11 | "author" : "xcode"
12 | }
13 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/topshelf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/topshelf.png
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "orientation" : "landscape",
5 | "idiom" : "tv",
6 | "filename" : "lauchimage.png",
7 | "extent" : "full-screen",
8 | "minimum-system-version" : "9.0",
9 | "scale" : "1x"
10 | }
11 | ],
12 | "info" : {
13 | "version" : 1,
14 | "author" : "xcode"
15 | }
16 | }
--------------------------------------------------------------------------------
/tvos/Timer/resources/Images.xcassets/LaunchImage.launchimage/lauchimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HipByte/RubyMotionSamples/a387842594fd0ac9d8560d2dc64eff4d87534093/tvos/Timer/resources/Images.xcassets/LaunchImage.launchimage/lauchimage.png
--------------------------------------------------------------------------------
/tvos/Timer/spec/main_spec.rb:
--------------------------------------------------------------------------------
1 | describe "Application 'TimerTV'" do
2 | before do
3 | @app = UIApplication.sharedApplication
4 | end
5 |
6 | it "has one window" do
7 | @app.windows.size.should == 1
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/watchos/BitWatch:
--------------------------------------------------------------------------------
1 | ../ios/BitWatch
--------------------------------------------------------------------------------