Skip to content

Instantly share code, notes, and snippets.

@yusukegoto
Last active August 29, 2015 14:02
Show Gist options
  • Save yusukegoto/d0494914a5d54324c361 to your computer and use it in GitHub Desktop.
Save yusukegoto/d0494914a5d54324c361 to your computer and use it in GitHub Desktop.
Ruby言語を利用したiPboneアプリケーション作成方法の紹介
<http://atnd.org/events/51206>
21Cafe
18:30-
第一部
海老沢さん@イグニス
P4Dやってる
Programer For Ruby
ツールチェーン
<http://www.rubymotion.com/>
ジェネレータ、コンパイラ
コンパイラ本体は有料
RakeタスクとかはOSS
HipBye/RubyMotion
<https://github.com/HipByte/RubyMotion>
ベルギーの会社
一年ごとに更新
初回20,000yen
二年目から半額くらい
前進はMac Ruby
完全OSS
v3は今年中
v1はiOSに対応
v2はOSXに対応
v3はAndroidに対応予定
特徴
RubyでCocoaが使える
フルネイティブ
JITとかしない
エディタが好きなのが使える
テストがruby風に書ける
Bacon
Objective-Cのライブラリが使える
Swiftも使えるらしい
ARCライクなGCを実装している
注意
ワンソースマルチビルドではない
cordova(Adobe)
phonegapみたいな
iOS8からjavascriptの実行速度が向上するらしい
Cocoa / Cocoa Touchの習熟は必要
よくある質問
Objective-Cのコードがはかれる?
No
Interface Builder使える?
Yes
Core Data使える
ライブラリ
cocoa pods, gem
Swiftはまだ公開できないし落ちる場合がある
情報が少なくて困る
Objective-CのコードをRubyに置き換えれば動かせる
第二部
エディタ
Ruby MineがIDEでは一択
IntelliJ IDEAベースのIDE
vim + ctags
emacs + motion-mode
ainameさん作
sublimetext3 + SublimeRubyMotionBuilder
日本人作った
atom + rubymotionpackage
海老沢さん
ライブラリ
cocoa pods
gem
申請方法
Application Loaderを使う
デモ
やっぱりBubbleWrap
引っ張って更新
UIRefreshControl
マシンへのリモートデバッグできる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment