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

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.

主站蜘蛛池模板: 萍乡市| 辽阳市| 三穗县| 田阳县| 蓝田县| 灵寿县| 太康县| 双柏县| 姚安县| 呼和浩特市| 青海省| 义马市| 达日县| 府谷县| 乐清市| 应城市| 新密市| 灌云县| 三门县| 栾川县| 乌兰浩特市| 昌邑市| 南宁市| 河津市| 岳普湖县| 镇宁| 景东| 津市市| 宝清县| 通化县| 昭平县| 顺昌县| 安平县| 习水县| 舒兰市| 伊宁市| 汶上县| 酒泉市| 潞西市| 定州市| 凤台县|