在RubyMotion网站的主页上,他们说这是一个
revolutionary toolchain that lets you quickly develop and test native iOS and OS X
applications for iPhone, iPad and Mac在Rubuto框架站点上,他们说了类似的话。
Ruboto is a framework and tool chain to develop native Android apps, using the Ruby
language we all know and love. 使用这些框架开发的应用程序如何被称为本机应用程序?
发布于 2013-11-23 08:03:27
RubyMotion工具链直接针对Objective-C运行时和应用编程接口进行编译,与Objective-C相同。
RubyMotion代码会编译成原生机器码,就像Obj-C应用程序一样。
http://www.rubymotion.com/developer-center/guides/runtime/
因此,这两段代码返回相同的内容:
Obj-C:
[[UIApplication sharedApplication] delegate]RubyMotion:
UIApplication.sharedApplication.delegateRubyMotion ->编译->机器码
->机器码的Objective-C ->编译
发布于 2013-11-23 06:19:53
Ruboto应用程序可以被称为原生应用程序,因为从外部看,它们无法与Java开发的应用程序区分开来。它们不仅仅是在另一个应用程序上运行的脚本。它们是自包含的、独立的应用程序,直接访问Android API。
https://stackoverflow.com/questions/20153327
复制相似问题