How to enable Xcode to browse iPhone SDK documentation offline

Source: Internet
Author: User

 
 
  1. Sudo xar-xf file name. xar

How to makeXcodeOffline browsingIPhoneSDKDocumentIs the content to be introduced in this article.XcodeProceedIPhoneFor programming, you may need to referIPhoneSDK documentation, but after each Control + Click,XcodeWill try to connect to the Internet for online reading. Is there any way to download the data to the hard disk for offline reading?

The answer is yes. First, go to Documentation Sets in Xcode Preference.

Select the required docset. Here is the iPhone 4.0 Reference Library.

Right-click and select "Get Info ..."

Find

 
 
  1. Feed URL:http://developer.apple.com/rss /com.apple.adc.documentation.AppleiPhone4_0.atom 

Open it in a browser. Many versions are listed below. After downloading it to a local computer, copy it to the/Developer/Documentations/Docset directory of Mac and run the terminal command:

Decompress it, and then use:

 
 
  1. Sudo chown-R-P devdocs file name .doc set

Change the document owner to devdocs. Open Xcode and you will be able to browse it offline.

Summary: How to makeXcodeOffline browsingIPhone SDKThe content of this document has been introduced. I hope this article will help you! For more information, see edit recommendations.

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.