Document directory
- 1. Input Method settings
- 2. Shortcut Keys
- 3. Start XCode 4
- 4. Xcode4 IDE visualized operations
Apple's object-C has seen rapid development in the past two years. Try to install the xcode 10.7 development environment under Mac OS X 4.2 and write the simplest iPhone program Hello world.
1. Input Method settings
By default, Lion does not display the input method icon. Set the display of the Chinese Input Method first:
System preference settings-language and text
Select the following and simplified Chinese options in the input method. In this way, the input method icon that can be switched between Chinese and English appears on the toolbar.
2. Shortcut Keys
The lion shortcut key is basically the same as that of windows. It only replaces the CTRL function. If you use a virtual machine, it is the Windows logo key.
For example, switch the input method to + Space
Copy and paste undo: + C, + V, + z
It is exactly the same as that in windows.
3. Start xcode 4
Create an iPhone iOS 5 project. The icon in the upper right corner can display xcode and ESC keys in full screen.
This is an IDE interface for building a project.
Compile, debug, and enable the iPhone simulator. It is very nice and has the same effect as a real machine. The following are
The operating experience is very similar to that of a real machine by running our new program, browsing web pages, and main interface images.
4. xcode4 ide visualized operations
The visual operation of Xcode is also very convenient, and the development experience is quite good. The following is a visual editing of the operation process.
This is the coding interface, and various code folding and error prompts are also in place. ALT + Click the variable to automatically prompt the Help content.
We modified the name of the new project, which is very helpful for Chinese.
Add several Text and status selection controls to quickly create a simple interface. XCode provides a wide range of controls, and its quality is very good and artistic.
Finally, run it in the simulator to perform operations on each control.
This is basically a drag-and-drop control. Next time, we will continue to learn the content of Object-C.
If. net can also provide such an Apple operation experience for a long time, the animation flow field, and the UI library that does not have high requirements on the system is enough. In the future, we hope that the development environment of Windows Phone can draw useful experience from XCode.
Yang Tao's learning memorandum YTYT2002YTYT
Http://www.cnblogs.com/ytyt2002ytyt/archive/2011/12/06/2278110.html