4

嗨,我想用 Ruby 开发一个 iphone 应用程序。Rhodes 或 Titanium 是最佳选择吗?我需要整合 GPS 和谷歌地图

4

3 回答 3

2

如果你想用 Ruby 编写 iPhone 应用程序,那么我知道 Rhodes 是你唯一的选择。我用 Titanium 制作了几个应用程序,您可以使用的唯一语言是 Javascript/Coffeescript(Coffeescript 编译为 JS)。正如有人已经指出的那样,Titanium 的 Ruby 支持仅适用于桌面。

至于 Rhodes 的功能,请查看http://docs.rhomobile.com/rhodes/device-caps。看起来他们支持地理定位和原生地图。

于 2011-10-04T16:14:14.437 回答
2

Rhodes 是用 Ruby 实际编写移动应用程序的唯一方法。使用 Titanium 或任何其他框架是不可能的。Rhodes(以及 PhoneGap)强调使用 HTML5 和样式库(如 jQuery Mobile 和 Sencha Touch)编写界面(但仍然构建原生应用程序而不是 Web 应用程序)。Titanium 创建了自己的 UI 抽象,并且不允许使用此类样式库。我们相信使用 HTML5

于 2011-09-28T13:07:30.990 回答
1

Rhodes seems to be a Ruby only solution, while Titanium offers support for Ruby/Python/PHP. Because of this, I would choose Rhodes. Other than that, you should have access to all of the features from all the frameworks.

于 2011-09-28T10:08:20.770 回答