1.2.3 Creating a Cocos2d-iphone Help document

Source: Internet
Author: User

Http://book.51cto.com/art/201303/383957.htm

Preparatory work before the beginning of chapter 1th of the cocos2d authoritative guide, this chapter describes what is cocos2d and some important basics about cocos2d, including how to download and install Cocos2d-iphone templates, How to install the Cocos2d-iphone Help documentation. Finally, an interesting example is presented on how to create the most basic hellococos2d project and to lead the reader in-depth study of the project. This section describes the Help documentation for creating Cocos2d-iphone.

AD:WOT2015 Internet operations and developers Conference selling tickets

1.2.3 Creating a Cocos2d-iphone Help document

The API in Cocos2d is not officially provided by Apple, so the API help information in COCOS2D cannot be found by default in Xcode's Help documentation. To facilitate learning and to use the APIs provided in Cocos2d, you can access Cocos2d's official online documentation (HTTP://WWW.COCOS2D-IPHONE.ORG/API-REF/2.0.0/).

In addition, there is a way to get the latest API documentation very easily, that is, using the dash tool. Dash is a set of API document browsing and code snippets Management in one tool, it supports iOS, Android, cocos2d, unity and more than 20 kinds of framework or language of the document browsing capabilities. Most importantly, these documents are updated at any time, and only the corresponding update packages need to be upgraded. Although this software is not free, want to use its full functionality must be purchased. However, its free version does not prevent us from using it as a document query tool.

To use dash, you must first download it. The download process is really simple, just open the app Store, enter the DASH keyword in the search, and find the program icon shown in Figure 1-11 in the results of the query. Click Download to install.

After the dash is installed, you need to install the COCOS2D documentation set. First, open the dash's "application preferences" and switch to the Downloads tab, shown in 1-12.


After installing the COCOS2D package, we'll open the dash again, then enter Ccsprite in the search box in the upper-left corner, and you'll get 1-13 output (the free version of the font shows red).

(Click to view larger image) Figure 1-13 Results of searching for ccsprite keywords using dash
"Editor: Book TEL: (010) 68476606"

1.2.3 Creating a Cocos2d-iphone Help document

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.