Difference between Monocross & Monotouch (xamarin)?

筅森魡賤 提交于 2019-11-27 13:05:30

问题


i am right now exploring the capabilities of Monotouch (by Xamarin) with other solution such as Monocross?

So can any one explain when to use Monotouch and when to Monocross.

What is the advantage & disadvantage of these framework w.r.t native app development?


回答1:


Monocross is a cross platform MVC framework. As a framework, it's open source. But you need either monotouch or mono for android in order to deploy on the devices.

Those 2 stuffs doesn't compare. They sum up.

With tools like Monocross or MvvmCross, you really get a crossplatform code sharing framework, and that's your advantage over coding in native languages.




回答2:


Just to try to add visually to Stephane's answer, here's a diagram slightly adapted from one of my presentations:


Note that you don't have to use a shared library like MonoCross, MvvmCross, etc. You can always write your own architecture. This is like in web apps - you don't have to use WebForms, ASP.Net Mvx, FubuMvc, etc - you can just use Request and Response and talk more directly with the web server.

So, you can just write your own code to adapt your app to each platform like:


Which approach you should take - depends on the requirements of you and your app... and on personal opinion too.



来源:https://stackoverflow.com/questions/14829532/difference-between-monocross-monotouch-xamarin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!