iOS Development Study notes: Basic article

Source: Internet
Author: User

iOS development requires a Mac computer, Xcode, and iOS SDK. Because Apple devices have their own closed environment, the development of iOS programs must be done on Mac devices (of course, black apples should also be possible, but it takes a lot of effort to toss the basic environment), Xcode is an integrated development environment, including the editor, debugging, Simulator and a series of tools that are easy to develop and deploy, the iOS SDK is necessary for developing applications, different SDKs correspond to different iOS versions or devices, and often we need to download multiple iOS SDKs to ensure that the programs we develop work correctly on different versions of iOS.

Create a new projectXcode offers a number of engineering templates, including Master-detail application, OpenGL Game, page-based application, single View application, tabbed Application, Utility application, Empty application and so on. Select "File->new->project" to pop up the following dialog box. Here we choose an empty application, through which to learn about the structure of iOS programs. After clicking Next, continue to the next screen.  Fill in the product name and class prefix, company logo and other information. Click Next, you will be prompted to select the project folder, after the selection is completed, the following screen will pop up. This interface is the work interface of Xcode. Xcode, as an IDE development environment, gives us everything you need to develop iOS programs. Compilers, debugging tools, emulators, editors, versioning, and more. Like all IDE tools, we should spend some time understanding our tools, either through Help or some other way.  The use of Xcode is no longer involved in this article. Because our projects are created based on templates, the Basic app environment is already set up. Even if we haven't entered any code at this point, our blank program is ready to run. To run the app, you can choose to use iOS Simulator (iOS emulator). Simulators can provide simulations of different types of hardware, IPad, iphone and more. You can run your program by clicking the Run icon on the left side of the toolbar, or from the menu Product->run, or from the shortcut key command+r.  Reference: 1, Start developing IOS Apps Today

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.