官术网_书友最值得收藏!

Summary

In this chapter, we have discussed some of the key features of the Xamarin development suite and development on previously described platforms and looked at Xamarin essentials for developing mobile applications. The remaining chapters refer to these key features and the differences between the platforms to identify valuable patterns and strategies to create cross-platform applications with Xamarin.

The architectural overview of the target platforms and how Xamarin applications are developed and compiled on these platforms were also discussed. The most important difference between these platforms is that Xamarin.Android (and also Windows Phone) uses .NET binaries and mono (and .NET) runtime to execute code, whereas Xamarin.iOS applications have a completely different setup and double compilation (Ahead-of-Time) to make use of .NET binaries, but not to run them directly.

Whilst developing for Android and iOS platforms with Xamarin, developers are also forced to select between different OS platforms and development IDEs. The selection and configuration of the development environment depends on the targeted platforms. IDE features and emulator and simulator options play an important role in this selection. While providing a familiar interface and letting the developers transfer their .NET-related skills and know-how, the OS X operating system together with Xamarin Studio is currently a more viable option for developing iOS applications.

Another important refresher was for the Xamarin solution structure. We talked about how developers can share code between different platforms and re-use public or private stores to include shared modules. Shared projects make up the basis for most cross-platform development patterns and strategies together with portable class libraries.

Overall, when using the Xamarin specifications and features, the main objective of developers should be to create loosely coupled, platform-agnostic modules that increase productivity and improve the quality of cross-platform development projects.

主站蜘蛛池模板: 桃江县| 资兴市| 岚皋县| 东辽县| 抚宁县| 剑河县| 磐安县| 香港| 广东省| 苗栗县| 修文县| 灌南县| 九龙县| 安庆市| 松桃| 安福县| 焉耆| 博野县| 泸定县| 日土县| 德惠市| 万安县| 金山区| 奉贤区| 宁陵县| 桂东县| 钟山县| 巧家县| 类乌齐县| 沿河| 隆化县| 新源县| 北川| 铜川市| 和政县| 南木林县| 南郑县| 石家庄市| 闵行区| 晋城| 曲沃县|