Xamarin iOS Development 1th Chapter writing the first iOS app using C #
C # was originally used to write Windows and Windows Phone applications. Since the advent of Xamarin, the role of C # has changed a lot. Not only can it write applications for Windows and WINDOWSX phones, but it can also write IOSandAndroid apps. This chapter explains how to write a simple iOS application using C #. This article is selected from the "Xamarin iOS Development Combat "
1.1 First knowledge of Xamarin
Xamarin is a cross-platform development framework. Xamarin's products simplify application development for a variety of platforms, including IOS,Android,Windows Phone , and Mac apps. This section will explain the development of Xamarin, the features of Xamarin, the version of Xamarin, and the tool requirements. This article is selected from the "Xamarin iOS Development Combat "
1.1.1 Xamarin Development
Xamarin was founded in 2011 and is now four years old. The development of Xamarin since it was created is shown in table 1-1.
Table 1-1 Xamarin History
|
Time |
Event |
|
2011 |
Xamarin was created |
|
February 21, 2013 |
Xamarin 2.0 Launches |
|
May 8, 2014 |
Xamarin 3 Launches |
1.1.2 Xamarin Features
Xamarin in a short span of 4 years, can develop to now well-known, and become well-known community CSDN Force Push development framework, presumably has its extraordinary, the following is a few important features of Xamarin.
1. Cross-platform
Xamarin can use the C # language to write iOS, Android, Mac, and Windows applications.
2. Smart Input
When developing an application, the developer detects some of the letters entered by the developer, looks for the corresponding API and automates the input , commonly known as auto-complete code.
3. Code sharing
The existing iOS applications developed by OBJECTIVE-C and Android applications developed by Java are not able to achieve program code sharing. Xamarin is written in C #, so through good design, you can share business logic and data access programs across different platforms without having to rewrite them. In addition to saving the time cost of re-writing, there is considerable support for version maintenance and consistency. This article is selected from the "Xamarin iOS Development Combat "
4. Integration with Visual Studio
Xamarin provides Visual Studio 2010/2012 plug-in so that developers who are already familiar with Visual Studio are no longer familiar with other development tools. When you build a project, you can create a project template for iOS and Android directly. The development team can also incorporate iOS and Android program code into ALM, using Team Foundation Server for version and build management.
5.UI Design
Now that you have integrated the Android UI design functionality in Visual Studio, iOS UI editing still relies on Xcode. But the design features of the UI that have been integrated in Xamarin studio. To facilitate the learning of developers, we use Xamarin Studio for the development of iOS applications, and Xamarin Studio is part of the Xamarin development framework.
6. Ensure the first time updates
Xamarin has spared no effort in updating iOS and Android versions. In iOS SDK 5.0, 6.0, 6.1, the corresponding framework version is published on the same day as Apple. This article is selected from the "Xamarin iOS Development Combat "
Xamarin iOS Development 1th Chapter writing the first iOS app using C #