官术网_书友最值得收藏!

What is RubyMotion?

RubyMotion is a toolchain that allows developers to develop native iOS applications using the Ruby programming language. RubyMotion acts as a compiler that interacts with the iOS SDK (Software Development Kit). This gives us enormous power to make use of Apple libraries; therefore, once the application has compiled and loaded, the device has no idea whether it's an application made using Objective-C or RubyMotion.

RubyMotion is a product of HipByte, founded by Laurent Sansonetti.

Note

Laurent Sansonetti is a former Apple employee and the brain behind MacRuby. MacRuby is the implementation of Ruby on top of Mac OS X core technologies, which was maintained by Apple for over 4 years. And the best part is that RubyMotion is based on MacRuby.

While developing applications with RubyMotion using Ruby, you always have access to the iOS SDK classes. This gives you the benefit of even mixing Objective-C and Ruby code, as RubyMotion implements Ruby on top of the Objective-C runtime and iOS Foundation classes.

This is how a typical RubyMotion application works. The code written in RubyMotion is fully compiled into machine code, so the application created by RubyMotion is as fast as the one created using Objective-C.

主站蜘蛛池模板: 万荣县| 德清县| 阿拉善左旗| 织金县| 鹰潭市| 栾城县| 仁布县| 大渡口区| 连州市| 永丰县| 铜川市| 凭祥市| 卫辉市| 阿瓦提县| 丁青县| 林口县| 麻栗坡县| 兴安盟| 灵武市| 文登市| 通山县| 历史| 武川县| 左贡县| 出国| 容城县| 利辛县| 临颍县| 濉溪县| 太仓市| 墨江| 怀远县| 东阳市| 兖州市| 敦煌市| 嘉义市| 阿坝| 广平县| 法库县| 伊宁县| 青海省|