iOS Development UI Basics-Install official Apple docs and Xcode simulator
Tip: Prepare your data
(1) Com.apple.adc.documentation.appleios7.1.ioslibrary.docset.zip
(2) Iphonesimulator6.1.sdk.zip
First, install Apple official documents
1. Installation path
The document has two installation paths:
(1) ~/Resource Library/developer/xcode/userdata/
(2)/applications/xcode.app/contents/developer/documentation/docsets
tip: Both of these paths can be either.
2. Installation Steps
Here is an example of installing the second path:
(1) Locate the installation path and install
Causes the destination folder to follow the given path
Drag the ready-made package into the folder to extract the compressed
After decompression, there will be a file called Com.apple.adc.documentation.appleios7.1.ioslibrary 2.docset.
First delete the original Com.apple.adc.documentation.appleios7.1.ioslibrary.docset file, and then put the Com.apple.adc.documentation.appleios7.1.ioslibrary 2.docset renamed to Com.apple.adc.documentation.appleios7.1.ioslibrary.docset (remove the following 2, modified and deleted files with the same name). Remove the compressed package.
(2) After you restart Xcode (and the emulator), you can view the installed documentation
Find Help in the Xcode menu bar and view the document as shown.
Notice the small blue arrow on the left
3. Some of the recommended documents
(1) Human-Computer Interaction Guide
(2) Start developing iOS apps now
(3) Cocoa Touch layer->uikit->guides->view Controller Programming documentation
(4) Tips
You can label documents that you frequently want to see for later viewing.
Second, install the simulator
1. Installation path:
2. Installation Steps
Locate the installed folder, copy the prepared files to the directory, and remove the compressed package after decompression.
After installation, you can start Xcode to see the installed emulator, so that the program is ready for future work.