Objective-C vs PhoneGap [英] Objective-C vs PhoneGap

查看:106
本文介绍了Objective-C vs PhoneGap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有多种开发iOS应用程序的方法。我喜欢在Objective-C中编程,使我的iOS应用程序。



但你可以使用 jQTouch jQMobile PhoneGap 等。



问题:
$ b

什么时候适合或适合使用本机平台?

解决方案


  1. PhoneGap本质上是一个包装器,所以它总是落后于最新的功能,

  2. 不是所有的平台功能都可以在PhoneGap中使用,所以你需要知道什么是不支持的,在你决定使用它之前。

  3. 大多数硬件加速功能将永远无法使用,因此如果您想使用高端图形制作高级游戏,则效果不会很好。

  4. 做开箱即用的自定义模块所需的维护实际上需要比开发本机更多的时间。

  5. 您确实需要在多于2个移动操作系统上运行?

PhoneGap专为iOS和Android而设计,可为您提供更大的市场覆盖。更简单的网络应用程序,数据驱动的应用程序和需要连接才能工作的社交应用程序。如果您的应用程序很受欢迎,并且需要支持更多功能,那么您最终可能会使用其本地语言重写应用程序,但如果您可以在多个设备上快速启动创意,那么您就会在市场上获得竞争优势。


There are multiple ways of developing iOS applications. I like to program in Objective-C to make my iOS apps.

But you can do most of the things using jQTouch, jQMobile, PhoneGap etc.

Question:

When is it suitable or appropriate to use the native platform?

解决方案

  1. PhoneGap is essentially a wrapper, so it will always lag behind the latest features, in addition to possibly having bugs in some edge cases.
  2. Not all platform features are going to be available in PhoneGap, so you'll need to know what is not supported before you decide to use it.
  3. Most hardware acceleration features will never be fully available, so if you want to make an advanced game with high end graphics, it's not going to work well.
  4. The maintenance required to do custom modules that are not available out of the box may actually take more time than developing native.
  5. Do you really need to run on more than 2 mobile OSes? Writing for iOS and Android will give you a fairly large market coverage, so you may be better off going native.

PhoneGap is designed for more simple web apps, data driven apps, and social apps that require connectivity to work. You may end up rewriting the app in it native language if your apps becomes popular and you need to support more features, but if you can launch an idea quickly on multiple devices, then you have a competitive advantage in the market.

这篇关于Objective-C vs PhoneGap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆