Have a lot of interest in the iOS development platform, just take this opportunity to get a good look at the iOS development process!
With some review, I learned that the iOS development platform relies mainly on Xcode software to write programs, but also needs to run in the context of Mac OS X, and the Windows system does not support most iOS files. So the first step is to create a virtual machine for the Mac OS x system first.
1. Virtual machine creation: Just before my computer had VMware 10.0 version, so save the download and installation of VMS
However, when creating a virtual machine for a Mac system, my VM version VMs did not have a ready-made Mac OS X system, I was going to see if I could get the next VM version of my own Mac OS, but later through Baidu and some queries, I found that I could download VMware finished Mac OS X Lion install hard disk image to solve, this is a similar to the Chinese patch of things, although there is a way to change the configuration file, but then most of the DMG to the iOS format is not supported, you need to do the boot, if the patch is not the problem. The Mac system successfully appeared after patching. And then according to the installation of the network tutorial step-by-step, in the middle of such as settings, select SCSI virtual node, replace CD/DVD and floppy disk drive, install MAC, etc. will not be described.
2. Configure the Xcode environment:
Because Xcode is 2G in size, it takes some time to download. Early installation of Xcode, always abnormal errors, in this way also due to some online methods to try a number of ways to solve, later only to know that due to the certificate expires, only need to change the time on it, and finally successfully installed Xcode, wherein: just want to drag the left to the right, Then find the Xcode icon in the finder-application-xcode and click to enter the development interface.
3. Program Preparation:
Once installed, create a new code project first.
Because the Xcode development program needs to use the Object-c language, so I know a little bit about Object-c's introduction, OBJECT-C is based on the C language, absorbed the Smalltalk object-oriented components created. The newly introduced keywords and types in objective-c are defined in the Objc/.objc.h header file. At the same time, #import is added to this preprocessing command.
After a little understanding of the object-c language, I would like to try to write a HelloWorld file and then find that if I just output such a text, just add a label to display the HelloWorld, drag it to the center of the interface. So
Although this is just a simple text output and does not require the use of the Object-c language and other features of Xcode, it is only a beginning, and I will continue to learn and understand it through the initial introduction to Object-c and Xcode.
Evolution of iOS development history