本文介绍了MonoTouch &iphone 应用程序的 C# VS Objective C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是一个 C# 程序员.我打算开始为 iphone 开发应用程序,但我不确定是否应该在 MonoTouch 下使用 C# 或只使用 iphone OS Objective C 的本机语言.

Greeting,I'm a C# programmer guy. I'm planning to start developing app for iphone but I'm not sure if I should use C# under MonoTouch or just use the native language for iphone OS Objective C.

使用 C# 或 Objective C 为 iphone 应用程序编程有什么不同吗?

Is there a different to program for iphone app using C# or Objective C?

使用 C# 为 iphone 编写应用程序是否有限制,或者它可以像 Objective C 一样开发 iphone 应用程序?

Is there limitation using C# to program app for iphone or it can do as much as Objective C can do to develop iphone app?

推荐答案

MonoTouch 包含了大部分但不是全部的 iPhone SDK.所以,是的,有些事情你(目前)还做不到,但它们相对较少,而且相距甚远.

MonoTouch wraps most but not all of the iPhone SDK. So, yes there are things you can't do (yet), but they're relatively few and far between.

许多 .Net 人员发现使用 MonoTouch 时他们的工作效率更高(至少最初是这样),因为他们可以利用他们现有的技能.另一方面,没有什么比用这片土地的母语工作更合适的了,只是需要更长的时间.您将不得不学习一些 Objective-C,因为世界上大多数文档都使用它(和/或 C 级 CoreFoundation API).一开始,Objective-C 的动态特性会让人感到陌生,但一旦你完全理解它,你可能会发现它非常自由.在我的职业生涯中使用过多种语言,我发现 Objective-C(和 Cocoa API)是最愉快的开发体验之一.

Many .Net folks find that they are more productive (at least initially) using MonoTouch, since they can leverage their existing skills. On the other hand, there's nothing like working in the native language of the land, it just takes a little longer. You will have to learn some Objective-C since most documentation out there in the world uses it (and/or C-level CoreFoundation APIs). Objective-C's dynamic nature will feel foreign at first, but you may find it quite liberating once you grok it fully. Having used many languages in my career, I find Objective-C (and the Cocoa APIs) one of the most pleasant development experiences out there.

这篇关于MonoTouch &iphone 应用程序的 C# VS Objective C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 21:36