Information Technology Reference
In-Depth Information
To display the specific sub-symbol—a function, a constant, and so on—click the reveal triangle next to the class,
and then click the sub-symbol. The documentation window shows the correct item in the class.
For more accurate searches, you can select the target docset, the relevant language, and the match type, as
shown in Figure 6.20. When you begin typing a search word, a pop-up menu appears under the search bar. To
view the options shown in the figure, select the Show Search Options… menu item. By default, searches look
for features in all programming languages. It can be useful to limit results to Objective-C, C, Java, or C++, or
some combination of these languages.
FIGURE 6.20
Limiting the search by OS version. This is a useful way to minimize search clutter.
CAUTION
Both OS X and iOS are built from two layers of code: one written largely in Objective-C and another low-level
layer that uses C. If you ignore the C layer, you miss some of the more useful features of both versions of the OS.
For non-specialized application development, it's usually best to ignore the language filtering and view all results.
Using class references
The Reference section takes up the bulk of the documentation. Most are code references, with formal lists of
properties/variables and code interfaces. This group includes Objective-C object references, and C function and
struct references for all layers of OS X and iOS. Code references are grouped into the layers introduced earlier.
Search WWH ::




Custom Search