我应该学习本机iOS开发(Objective-C)还是完善我在Javascript和Titanium Appcelerator中的知识? [英] Should I learn native iOS development (Objective-C) or perfect my knowledge in Javascript and Titanium Appcelerator?

查看:122
本文介绍了我应该学习本机iOS开发(Objective-C)还是完善我在Javascript和Titanium Appcelerator中的知识?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上我需要你的建议我的好朋友:D

Basically I need your advice my good stack friends :D

在过去的六个月里,我正在用 Titanium Appcelerator 移动框架。我的经验大多是好的或非常好。

For the last six months I am exploring/learning/developing iOS apps with Titanium Appcelerator mobile framework. My experiences are mostly good or very good.

Titanium的一些负面部分会占用时间,尤其是在设备上进行测试时。当仅使用Xcode(本机)时,您的应用程序会立即在设备上启动,而使用Titanium时,您需要等待一段时间(1-2分钟)才能构建应用程序,然后将其安装到设备上(iTunes或iPhone配置)效用)。

Some negative parts of Titanium would be building time, especially when testing on a device. When using only Xcode (native), your app starts immediately on a device, while with Titanium you have to wait for a while (1-2 minutes) for your app to build and then to install it on a device (iTunes or iPhone Configuration Utility).

基本上你可以用Javascript + Titanium进行原生的一切。如果Titanium不支持iOS框架的某些部分,您可以构建一个原生的Objective-C模块,并在您的Javascript代码中使用这些功能。

Basically everything that you can do natively you can do with Javascript + Titanium. If Titanium does not support some part of iOS framework, you can build a native Objective-C module and have those features in your Javascript code.

我现在觉得很舒服Titanium Appcelerator和使用Javascript构建应用程序。我还为iOS构建了一些模块时学到了一些Objective-C。例如。我在第一个iOS应用中使用的 DeviceMotion Spellery

I feel really comfortable now using Titanium Appcelerator and building apps with Javascript. Also I learned some Objective-C while building a few modules for iOS. Eg. DeviceMotion which I used in my first iOS app Spellery.

现在问题

大多数公司只想要原生开发人员并且对Titanium持怀疑态度。 Titanium与其他跨平台SDK(例如PhoneGap)不同,因为在这里您实际使用本机组件(按钮,标签等),并且您的应用程序未在WebView中运行。但如果公司想要原生,那么就不能强迫他们使用Titanium。

Most companies wants only native developers and are sceptic of Titanium. Titanium is different from other cross platform SDKs (Eg. PhoneGap) because here you actually use native components (buttons, labels etc) and your app is not running in a WebView. But if company wants native then you can't force them to use Titanium.

由于我想开发移动应用程序作为工作,我应该抛弃我的最后六个几个月来对Titanium进行深入探索并学习本地编程这些应用程序?

Since I would like to develop mobile apps as a job, should I just throw my last six months of intensive exploring of Titanium and learn programming those apps natively?

您对此有何看法,因为我认为学习/完善两者都没有意义?

What are your thoughts on this because I see no point in learning/perfecting both of them?

我现在非常喜欢Appcelerator Titanium,所以这是一个非常重的决定。

I am a very big fan of Appcelerator Titanium now so this is a very heavy decision to make.

推荐答案

坦率地说,我仍然建议学习更多的Objective-C。它是一种非常强大的语言,它旨在让您更轻松地使用Apple认为必需品的许多内容(例如,动画,持久性,数据库,MVC)。 Apple已经非常严格地围绕Objective-C设计了他们的框架,并且要真正使用它们,你必须使用他们的语言。另外,你知道其他什么语言?从一开始,我就从C / C ++和脚本语言(Ruby)中发现了Objective-C。这完全取决于您在应用中需要多少iOS。即使它Titanium可以让用户感觉iOSy,iOSy代码实际上编写和维护真的很有趣。它可以是一个非常漂亮的框架。

Frankly, I would still suggest learning some more Objective-C. It's a very powerful language, and it is designed to allow you to many things that Apple considers necessities much more easily (eg. Animation, Persistance, Databases, MVC). Apple has designed their frameworks around Objective-C very tightly, and to really use them well, you have to use them from their language. Also, what other languages do you know? I, for one, found Objective-C much easier after coming from C/C++ and a scripting language (Ruby). It all really depends how much iOSness you want in your app. Even it Titanium can make the user end feel iOSy, iOSy code is actually really fun to write and maintain. It can be quite a beautiful framework.

这篇关于我应该学习本机iOS开发(Objective-C)还是完善我在Javascript和Titanium Appcelerator中的知识?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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