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

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.

主站蜘蛛池模板: 广南县| 甘泉县| 潜山县| 临西县| 淮滨县| 左权县| 延吉市| 普格县| 洛宁县| 姚安县| 麻栗坡县| 霍山县| 安仁县| 绥滨县| 泰安市| 白山市| 南靖县| 清水河县| 泊头市| 湖北省| 宜黄县| 淮滨县| 察哈| 县级市| 桐柏县| 二手房| 娱乐| 高州市| 岳西县| 融水| 冀州市| 扬州市| 博客| 新乐市| 邓州市| 宝鸡市| 都匀市| 晋城| 灵石县| 平利县| 容城县|