MonoTouch-有人使用过吗? [英] MonoTouch - has anyone used this?

查看:52
本文介绍了MonoTouch-有人使用过吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个.NET开发人员,试图实现目标C型iPhone编程的飞跃.我创建了我的第一个应用程序-只是一个具有多个xib的简单投资组合.

I'm a .NET developer trying to make the leap into objective-c iPhone programming. I created my first app - just a simple portfolio with multiple xibs.

我刚刚遇到过MonoTouch,它使您可以用C#或.NET开发iPhone应用程序.有人尝试过吗?我很想知道人们对此的看法.

I've just come across MonoTouch which lets you develop iPhone apps in C# or .NET. Has anyone tried this out? I'd be interested to know people opinions on it.

推荐答案

我已经使用了5个月了,并且在App Store中有一个使用它开发的应用程序(

I have been using it for 5 months now, and I have an app developed using it in the App Store ( http://escoz.com/quicklytics ), as well as a few internal projects deployed at a client.

这是我的观点:

如果您是.NET开发人员,并且想要为iPhone开发,则需要学习两个新知识:Obj-C和iPhone SDK.两者都与.NET完全不同,并且可能很难进行,尤其是在有最后期限的情况下.通常,您最终会完成工作,但主要是通过从网络上复制粘贴大量随机代码达数月之久.是的,您实际上可能会花时间并正确地学习它,而不是那样做,但这会花费很多时间.

If you're a .NET developer, and want to develop for the iPhone, you'll need to learn two new things: Obj-C and the iPhone SDK. Both things are quite different from .NET, and it can be quite difficult to get going, specially if you have a deadline. In general, you'll end up getting stuff done, but mostly by copying-pasting a lot of random code from the web for months and months. Yeah, you may actually spend the time and learn it properly and not do that, but that will take a lot of time.

使用MonoTouch可以完全跳过第一个问题(obj-c),对第二个问题(sdk)有很大帮助.经过两天的在线阅读和观看视频,使用您熟悉的东西已经可以提高工作效率.

Using MonoTouch allows you to totally skip the first problem (obj-c) and helps tremendously with the second (sdk). After a couple of days reading and watching videos online you can already be fairly productive, using things you're familiar.

是的,它的成本至少为$ 400.00,如果您正在考虑在周末开发有趣的东西,这可能会有点贵,但是如果您正在考虑编写工作代码,这是不可行的.节省下来的时间要比$ 400.00多得多.

Yeah, it does cost at least $400.00, and if you're thinking about developing stuff for fun over the weekend, that may be a little expensive, but if you're thinking about writing code for work, this is a no brainer.. The amount of time that it'll save costs a lot more than the $400.00.

  • 应用程序大小:应用程序将更大(平均要大6-7Mb):老实说,没人在乎.
  • 速度:虽然从技术上讲,它可以使obj-c应用程序的运行速度比C#快一点,但实际上根本不会发生这种情况:单点触控的速度与obj-c一样快目的. 错误:不必一直处理内存泄漏,并且要开发更高的语言是很重要的.
  • Size of apps: the apps will be larger (6-7Mb larger in average): nobody cares about it, honestly.
  • Speed: while technically it is possible to make obj-c apps that run a little faster than C#, in practice that simply doesn't happen: monotouch is as fast as obj-c for all purposes. Bugs: not having to deal with memory leaks all the time and having a higher language to develop in is a huge deal.

即使最后您想使用Obj-C,我也强烈建议您从MonoTouch开始并熟悉API.该演示是免费提供的,它允许您进行除部署到iPhone之外的所有操作.仅当您知道API的工作原理时,才移至Obj-C(如果您仍然希望最后使用).

Even if in the end you want to pick up Obj-C, I would highly recommend you start with MonoTouch and get familiar with the APIs. The demo is available for free and allows you to do everything other than deploying to an iPhone. Only when you know how the API works move to Obj-C (if you still want to do it at the end).

最后一点:如果您正在考虑将应用程序移植到其他移动平台,MonoTouch似乎是现在可以使用的平台:您的大多数代码都可以移植到Windows Phone SDK,Apple将发布MonoDroid (适用于Android的MonoTouch)在接下来的5-6个月内..这对我来说确实很重要,也许对您也很重要.

One last point: if you're thinking about porting your apps to other mobile platforms, MonoTouch seems to be the platform to use right now: most of your code can be ported to the Windows Phone SDK, and Apple will release MonoDroid (MonoTouch for Android) in the next 5-6 months.. This really matters to me, maybe it also matters to you.

这篇关于MonoTouch-有人使用过吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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