官术网_书友最值得收藏!

Top-level documentation

Apple provides some of the most in-depth SDK documentation of any development platform. Access to this documentation is possibly one of the most important aspects of iOS development. Previous versions of Xcode always had access to documentation; however, Xcode 5 takes a more accessible approach with its top-level documentation. It's important to note that an Internet connection is required unless you predownload the documentation from Apple. This can be done by navigating to Xcode | Preferences | Downloads.

Go to the menu bar and navigate to Help | Documentation and API Reference. Xcode 5 will show a separate window that has been designed to streamline the search and display of all of the documentation. Apple has built this documentation to work for you. As you type, Xcode will display suggestions in the form of API references, SDK guides, and even Sample Code related to your search.

The new documentation view also provides support for tabs, allowing you to view multiple pieces of documentation simultaneously. As you browse through the results, you may see a dynamic table of contents by clicking on the table of contents button immediately to the left-hand side of the search bar. The table of contents will automatically update based on the document you are currently viewing.

Additionally, the new documentation has built-in bookmarking, which allows you to save your most frequently viewed resources. To the right of the search bar, you will see a share button. Clicking on this button will show a menu with options to share or bookmark the current reference.

You may have also noticed a small bookmark icon on the left-hand side of each title or heading while scrolling through the documentation. You can even save specific sections of any API reference rather than saving the entire document. All of your bookmarks can be viewed in the navigator by clicking on the navigator button immediately on the left-hand side of the table of contents button. This view will also allow you to browse the entire documentation library at a glance. Combine this with the previous ability of pressing the alt key and clicking on any code to display an inline summary and linking from the code to full documentation, and then you'll have robust documentation integration!

主站蜘蛛池模板: 台中县| 蒲城县| 阿城市| 闽侯县| 汉沽区| 富宁县| 玉龙| 靖安县| 民勤县| 葵青区| 黔西县| 怀远县| 区。| 柳州市| 宁强县| 松潘县| 天柱县| 镇平县| 获嘉县| 六盘水市| 依兰县| 姜堰市| 青浦区| 石狮市| 伊金霍洛旗| 阳东县| 淮阳县| 龙江县| 鸡西市| 盐池县| 丽水市| 苗栗县| 璧山县| 韩城市| 石棉县| 利辛县| 兰溪市| 千阳县| 武清区| 昆山市| 大埔县|