何时使用Xamarin.Forms VS Xamarin本土? [英] When to use Xamarin.Forms vs Xamarin Native?

查看:260
本文介绍了何时使用Xamarin.Forms VS Xamarin本土?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要做Xamarin.Forms之间进行选择VS Xamarin原生应用。

I am in need to make a choice between Xamarin.Forms vs Xamarin native apps.

我想要去Xamarin.Forms作为UI code也将被共享。

I want to go with Xamarin.Forms as UI code will be shared as well.

所以,相比原生什么Xamarin.Forms的缺点。

So what are the drawbacks of Xamarin.Forms as compared to Native.

推荐答案

除了显示href=\"http://xamarin.com/forms\">点,你也应该考虑:

Aside from the points shown in the Xamarin Website, you should also consider:

您的团队的背景

有没有人在你的团队有一个previous经验本身编码Android或iOS(使用Java或对象 - C /斯威夫特)?这一经验被重用原生Xamarin,但他们就必须学习另一种平台,code的形式。

Does anyone in your team has a previous experience coding natively for Android or iOS (using Java or Obj-C/Swift)? This experience is reused in native Xamarin, but they'll have to learn another platform to code in Forms.

同样是事实,如果他们一无所知的iOS / Android的,但知道一些XAML。当然Xamarin.Forms是WPF / Silverlight的不同,但我们知道XAML我使用表单确实帮助。

The same is truth if they know nothing about iOS/Android but know some xaml. Sure Xamarin.Forms is different from WPF/Silverlight, but knowing xaml surely helped me using Forms.

性能

Xamarin形式还是有一些问题,比如初始化的时间。你应该考虑是不是这将是你的最终用户的问题。我不会刻意去等待一段时间,我在一段时间使用一次打开仪表盘的应用程序,但我会生气,如果同样的事情发生到消息的应用程序。

Xamarin Forms still has some issues, such as initialisation time. You should consider whether or not this will be a problem for your final user. I wouldn't bother to wait a while for a dashboard app that I use once in a while to open, but I'd be angry if the same happened to a messaging app.

时间直到分娩

由于code共享使用表单时更大,你可能希望更快的交货时间。

Since the code sharing is bigger when using Forms, you may expect a quicker delivery time.

您的应用程序的复杂性

考虑到previous点,用你可能会在某些显示塞错误(这是一个非常新的技术毕竟),将空的时候绊倒收益形式。在选择之前,请考虑您的应用程序的复杂性。

Considering the previous point, using Forms you may stumble on some show stopper bug (it's a very new technology after all) that will null the time gains. Consider the complexity of your application before choosing.

这篇关于何时使用Xamarin.Forms VS Xamarin本土?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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