Use monotouch for iOS development

Source: Internet
Author: User
ArticleDirectory
    • Development Environment preparation
    • Getting started
    • Notes
Development Environment preparation

You can refer to this blog post to get a general understanding of virtual machine environment configuration. As monotouch is about to support xcode 4, the recommended development environment is:

    1. Install OSX 10.6;
    2. Install xcode 4 to the/developer directory, so that you can use the compilation tool provided by xcode 4 for compilation;
    3. Install xcode 3 to the/xcode3 directory, so that you can use the independent interface builder provided by xcode 3;
    4. Install the latest version of Mono SDK for Mac OSX;
    5. Install the latest monotouch trial version;
    6. Install monodevelop for Mac OSX.

Set to open the XIB file using interface Builder by default:

    • Find any XIB file;
    • Right-click and choose get info;
    • Find open with in the info window, Select Interface builder from the drop-down list, and click Change all.
Get started with objective-C

For iOS development, it is essential to have some basic knowledge about obj-C. There are many introductory tutorials on OBJ-C on the Apple developer website.

    1. For the basic concepts of obj-C, refer to learning objective-C: A primer. It is necessary to master some basic concepts of obj-C, such as interface, selector, delegate, and property, these concepts can be compared with C;
    2. Based on the tutorial provided by Apple, use xcode to create an IOSProgramTo experience the xcode development process;
    3. XcodeCodeCan write the corresponding C # code and optimize it according to the features of C;
    4. The final requirement is to extend the C #. Net skills that have been mastered to the iOS platform.
Start iOS development with monotouch

There are already many tutorials on monotouch, such:

    • Using monotouch in Visual Studio to develop IOS applications (below): development experience
    • Xamarin official monotouch tutorial
    • Monotouch. Info
Notes

Due to the license restrictions of the apple SDK, Mono runs in the AOT mode on iOS platform, instead of the JIT Mode we are familiar with. Therefore, we need to know what the AOT mode is, some dynamically executed code (dynamically compiled lambda expressions, emit, and codedom) cannot be executed.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.