macruby を使ってみました
TRANSCRIPT
MacRubyYoshiyuki MIYAGIdwango mobile
13年1月10日木曜日
自己紹介
宮城良征 (Yoshiyuki MIYAGI)
tw: yosshi1202
github: yosshi
ドワンゴモバイル
アプリケーション開発第一セクション
13年1月10日木曜日
Ruby を使うことで性能を犠牲にしないObjective-C ランタイムガベージコレクション
LLVM
本格的な Mac OSX アプリケーションを作成することが MacRuby の Mission
13年1月10日木曜日
gem が使えるらしい
test framework も使えるらしい
Test::Unit, RSpec ....
HotCocoa https://github.com/HotCocoa/hotcocoa
Cocoa UI Library を使うと便利らしい
試せなかったけど便利そう
13年1月10日木曜日
Objective-C 構文から解放されます。
13年1月10日木曜日
http://www.slideshare.net/brendanlim/developing-cocoa-applications-with-macruby
13年1月10日木曜日
Ruby でMac のアプリを作ろう
13年1月10日木曜日
導入方法等は割愛(参考資料を読んでね)
13年1月10日木曜日
さくっと作った。
13年1月10日木曜日
13年1月10日木曜日
LunchTeam.appLTのあとにチーム分けしてランチに行く。CUIのスクリプトにGUIをつけてみたよ。
https://gist.github.com/3650445https://gist.github.com/3233153
13年1月10日木曜日
LunchTeam.app
https://github.com/yosshi/macruby-LunchTeam
13年1月10日木曜日
感想慣れている Ruby で GUI アプリケーション
Objective-C をきにしなくてもいい
GUI 部品との連携も簡単
Ruby のコードだけ書いた
Obejctive-C の長い構文を書かなくていいのはとても良い。
InterfaceBuilder との連携も良い感じ
13年1月10日木曜日
使用した環境
Mac OSX 10.8.2
Xcode 4.5.2
MacRuby 0.12
13年1月10日木曜日
参考資料Slideshare: Developing Cocoa Applications with macRuby
http://www.slideshare.net/brendanlim/developing-cocoa-applications-with-macruby
MacRuby official tutorial
https://github.com/MacRuby/MacRuby/wiki/Creating-a-simple-application
MacRuby.h が見つからないとき
http://blog.i462soft.com/2012/06/xcode-4.html
MacRuby Dojo
http://watson1978.github.com/MacRuby-DoJo/
13年1月10日木曜日
Enjoy coding!!
13年1月10日木曜日