Information Technology Reference
In-Depth Information
The Cocoa framework that appears in OS X projects is a simple header file that imports the AppKit, Foundation
and Core Data frameworks. There is no stand-alone Cocoa framework, and the documentation describes Cocoa as
a layer.
Searching the online documentation
A search field is available at the top left of the main Reference Library pages. You can use this to run a simple
word-match search. The results show each match, grouped by resource type. For example Figure 6.16 shows
the results of searching for the NSMakePoint function.
FIGURE 6.16
Search for a specific function name. Searching for a vague topic such as “video” doesn't produce useful results.
The search feature is best used for specific named features, such as classes, constants, functions, and so on.
The word-match search isn't intelligent, and it doesn't attempt to group results by relevance. For best results,
search for a specific function or class. The results will then show you the guides and related classes which use or
mention the item. If sample code appears, it's well worth taking the time to explore it, because it can use related
functions and classes that don't show up in a direct search.
Using the Xcode Documentation Viewer
The documentation browser is built into the Xcode Organizer. You can access it in four ways:
Open the Organizer window from the main menu with Window⇒Organizer, and select the Documenta-
tion icon in the top toolbar.
 
Search WWH ::




Custom Search