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

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.

主站蜘蛛池模板: 盱眙县| 建德市| 广德县| 蕉岭县| 娱乐| 旅游| 水富县| 铜陵市| 嵩明县| 开平市| 灯塔市| 景泰县| 六安市| 通道| 石狮市| 射洪县| 瑞丽市| 玉龙| 津南区| 峨边| 阿拉善左旗| 海林市| 丹巴县| 容城县| 海门市| 绵竹市| 平谷区| 佛山市| 靖远县| 油尖旺区| 徐州市| 克什克腾旗| 封开县| 辽宁省| 峡江县| 长汀县| 海宁市| 五大连池市| 滨海县| 文安县| 贵南县|