V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
lldong
V2EX  ›  iDev

RubyMotion, Unlock the power of Ruby for iOS

  •  
  •   lldong ·
    lldong · 2012-05-07 00:30:28 +08:00 · 2695 次点击
    这是一个创建于 4380 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://www.rubymotion.com/

    MacRuby的作者離開蘋果後搞的項目,前陣子還見他在MacRuby的mailing list上說找到一種類似ARC的方案讓MacRuby支持非GC的環境,有可能就是用在這個東西上了,希望儘快把成果用到到MacRuby上
    6 条回复    1970-01-01 08:00:00 +08:00
    Mattsive
        1
    Mattsive  
       2012-05-07 00:34:20 +08:00
    no offence, 但我感觉这就是个笑话
    lldong
        2
    lldong  
    OP
       2012-05-07 00:40:49 +08:00
    @Mattsive 爲什麼?
    Mattsive
        3
    Mattsive  
       2012-05-07 01:05:59 +08:00
    可以吐槽的地方太多了,几个我个人认为比较难解决的问题:
    1, 包装还不够。你还是要学习 CocoaTouch,目前许多调用还是和在 objc 里的调用基本一样,类名,方法名甚至参数位置都一样。
    2, UI,这是个大问题。AppCode 都无法摆脱 Interface Builder。
    3, debuger,连同没有 IDE,目前看不到有什么好的解决方案。
    4, 不开源。Are you fxxking kidding me ?

    当年 MacRuby 让 ruby 界集体高潮了一把。实际上呢?只不过是个人作品而已,他离职出来做 RubyMotion,MacRuby 的未来尚且未知,现在还要担心 RubyMotion 会不会有明天。

    当然现在吐槽早了点,上面提到的问题也不是都没有办法解决。但我个人不看好类似的项目,哪怕是已经很完善的 MonoTouch。
    sobigfish
        4
    sobigfish  
       2012-05-07 01:20:02 +08:00
    有那个精力折腾他这个收费的东西还不如直接钻研objc
    lldong
        5
    lldong  
    OP
       2012-05-07 02:04:10 +08:00
    @Mattsive

    第一點我覺得反而是優勢,對於一個有Ruby基礎的iOS開發者很快就能上手,方法調用的方式也比MobiRuby的好多了,不過還是希望能有類似MacRuby上HotCocoa的封裝讓API的使用更方便,至於完全脫離CocoaTouch我覺得不實際。

    不支持Interface Builder我覺得影響不大,起碼我現在的項目已經很少用xib了,況且RubyMotion能像F-Script一樣實時地調試代碼,這是它最強大的地方,也是最吸引我的。

    不開源倒是目前最具爭議的,希望可以使用類似MonoTouch的授權方式。包括MacRuby我目前都傾向於作爲一個prototyping工具使用,對與開發效率確實有很大的提高。

    此外,MacRuby目前整個社區還是很活躍的,對未來的發展也有一個不錯的規劃,提供i類似 RubyMotion
    lldong
        6
    lldong  
    OP
       2012-05-07 02:09:01 +08:00
    http://lists.macosforge.org/pipermail/macruby-devel/2012-April/008702.html

    "I have been experimenting with different alternate memory models for
    MacRuby on my spare time, and one of them seems to work well, modulo a
    few leaks. It's similar to ARC in design (but it has a different
    implementation). I have been working on a MacRuby app with friends
    using the new code, so far so good. I will merge my branch with GitHub
    as soon as it's stable, with a few other improvements. That should
    happen before Mountain Lion ships, so no worries, we should be fine."
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   901 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:58 · PVG 06:58 · LAX 15:58 · JFK 18:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.