MacRuby
      Yoshiyuki MIYAGI
      dwango mobile




13年1月10日木曜日
自己紹介

         宮城良征 (Yoshiyuki MIYAGI)

              tw: yosshi1202

              github: yosshi

         ドワンゴモバイル

              アプリケーション開発第一セクション



13年1月10日木曜日
MacRuby 知ってますか?


              http://macruby.org/


13年1月10日木曜日
本格的な Mac OSX アプリケーションを
      作成することが MacRuby の Mission

              Ruby を使うことで性能を犠牲にしない
                    Objective-C ランタイム
                     ガベージコレクション
                            LLVM



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.app
     LTのあとにチーム分けしてランチに行く。
     CUIのスクリプトにGUIをつけてみたよ。


              https://gist.github.com/3650445
              https://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日木曜日

MacRuby を使ってみました

  • 1.
    MacRuby Yoshiyuki MIYAGI dwango mobile 13年1月10日木曜日
  • 2.
    自己紹介 宮城良征 (Yoshiyuki MIYAGI) tw: yosshi1202 github: yosshi ドワンゴモバイル アプリケーション開発第一セクション 13年1月10日木曜日
  • 3.
    MacRuby 知ってますか? http://macruby.org/ 13年1月10日木曜日
  • 4.
    本格的な Mac OSXアプリケーションを 作成することが MacRuby の Mission Ruby を使うことで性能を犠牲にしない Objective-C ランタイム ガベージコレクション LLVM 13年1月10日木曜日
  • 5.
    試せなかったけど便利そう gem が使えるらしい test framework も使えるらしい Test::Unit, RSpec .... HotCocoa https://github.com/HotCocoa/ hotcocoa Cocoa UI Library を使うと便利らしい 13年1月10日木曜日
  • 6.
    Objective-C 構文から 解放されます。 13年1月10日木曜日
  • 7.
    http://www.slideshare.net/brendanlim/developing- cocoa-applications-with-macruby 13年1月10日木曜日
  • 8.
    Ruby で Mac のアプリを作ろう 13年1月10日木曜日
  • 9.
    導入方法等は 割愛(参考資料を読んでね) 13年1月10日木曜日
  • 10.
  • 11.
  • 12.
    LunchTeam.app LTのあとにチーム分けしてランチに行く。 CUIのスクリプトにGUIをつけてみたよ。 https://gist.github.com/3650445 https://gist.github.com/3233153 13年1月10日木曜日
  • 13.
    LunchTeam.app https://github.com/yosshi/macruby-LunchTeam 13年1月10日木曜日
  • 14.
    感想 慣れている Ruby で GUI アプリケーション Objective-C をきにしなくてもいい GUI 部品との連携も簡単 Ruby のコードだけ書いた Obejctive-C の長い構文を書かなくていいのはと ても良い。 InterfaceBuilder との連携も良い感じ 13年1月10日木曜日
  • 15.
    使用した環境 Mac OSX 10.8.2 Xcode 4.5.2 MacRuby 0.12 13年1月10日木曜日
  • 16.
    参考資料 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日木曜日
  • 17.