<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://commons.oreilly.com/wiki/skins/common/feed.css?97"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Learning Cocoa with Objective-C/Appendixes/Using the Foundation and Application Kit API References - Revision history</title>
		<link>http://commons.oreilly.com/wiki/index.php?title=Learning_Cocoa_with_Objective-C/Appendixes/Using_the_Foundation_and_Application_Kit_API_References&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.11.0</generator>
		<lastBuildDate>Wed, 22 May 2013 02:55:03 GMT</lastBuildDate>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=Learning_Cocoa_with_Objective-C/Appendixes/Using_the_Foundation_and_Application_Kit_API_References&amp;diff=6283&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Learning Cocoa with Objective-C/TOC}}&lt;br /&gt;
When you install Apple's developer tools on your system, a set of reference documents is installed with them into the ''/Developer/Documentation''folder on your hard drive. This documentation covers all aspects of Mac OS X development, from building kernel extensions to Carbon and Cocoa development. For Cocoa development, the place to start looking is in the ''/Developer/Documentation/Cocoa''folder, as shown in [[Learning Cocoa with Objective-C/Appendixes/Using the Foundation and Application Kit API References#learncocoa2-APP-C-FIG-1|Figure C-1]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;learncocoa2-APP-C-FIG-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure C-1. The location of the Cocoa Developer Documentation'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Learning Cocoa with Objective-C_I__tt650.png|The location of the Cocoa Developer Documentation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply double-click the ''CocoaTopics.html'' file, and your browser will open it, showing you the complete set of Cocoa documentation. While using this book, one of the most important parts of this documentation set will be the Objective-C Framework Reference, highlighted in [[Learning Cocoa with Objective-C/Appendixes/Using the Foundation and Application Kit API References#learncocoa2-APP-C-FIG-2|Figure C-2]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;learncocoa2-APP-C-FIG-2&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure C-2. Cocoa Developer Documentation index page'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Learning Cocoa with Objective-C_I__tt651.png|Cocoa Developer Documentation index page]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Objective-C Framework Reference consists of four primary sections:&lt;br /&gt;
&lt;br /&gt;
;Application Kit Reference&lt;br /&gt;
: The authoritative and comprehensive reference to all of the classes, protocols, functions, and types in the Application Kit.&lt;br /&gt;
;Foundation Reference&lt;br /&gt;
: The authoritative and comprehensive reference to all of the classes, protocols, functions, and types in the Foundation Kit.&lt;br /&gt;
;Application Kit Release Notes&lt;br /&gt;
: An overview of the changes to the Application Kit in the last release. With each release of Mac OS X comes new features and functionality. This document details the changes in the AppKit that will affect you. You should read these to keep on top of new developments.&lt;br /&gt;
;Foundation Release Notes&lt;br /&gt;
: An overview of the changes to the Foundation Kit in the latest release.&lt;br /&gt;
&lt;br /&gt;
The benefit to this reference set is that it will always be there, even if you are hacking Cocoa on your PowerBook at 38,000 feet above the Atlantic Ocean. However, the shear mass of documentation on the system can be intimidating to use.&lt;br /&gt;
&lt;br /&gt;
== Cocoa Browser ==&lt;br /&gt;
&lt;br /&gt;
When writing this book, we were planning on putting in quick references to the Foundation and Application Kit APIs as a couple of long appendixes. We thought a bit about the best way to organize the information and came up with a few solutions that might have worked. Then we stumbled across Cocoa Browser, an Open Source documentation viewer written by Hoshi Takanori and Max Horn. It was good enough, even at version 0.4, to recommend as a replacement for the 50 or more pages of reference that would quickly become dated in this book (not to mention that including that many pages would probably drive up the price of the book).&lt;br /&gt;
&lt;br /&gt;
Cocoa Browser presents an effective column-based interface—similar to the Finder's column view—to the documentation installed in your ''/Developer/Documentation /Cocoa''folder. This column view allows quick access to the information you need. In [[Learning Cocoa with Objective-C/Appendixes/Using the Foundation and Application Kit API References#learncocoa2-APP-C-FIG-3|Figure C-3]], we've drilled through to the &amp;lt;tt&amp;gt;init&amp;lt;/tt&amp;gt; method of &amp;lt;tt&amp;gt;NSObject&amp;lt;/tt&amp;gt; and can view the documentation for this method directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;learncocoa2-APP-C-FIG-3&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure C-3. Using Cocoa Browser to access API reference documentation'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Learning Cocoa with Objective-C_I__tt652.png|Using Cocoa Browser to access API reference documentation]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cocoa Browser is also invaluable for seeing which methods a particular class supports and which arguments can be used. For example, we find ourselves looking at all the methods that &amp;lt;tt&amp;gt;NSResponder&amp;lt;/tt&amp;gt; and its subclasses support on a frequent basis. In addition, the Cocoa functions and data types from both the AppKit and the Foundation Kit are easily browsable, as shown in [[Learning Cocoa with Objective-C/Appendixes/Using the Foundation and Application Kit API References#learncocoa2-APP-C-FIG-4|Figure C-4]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;learncocoa2-APP-C-FIG-4&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure C-4. Browsing Foundation's functions'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Learning Cocoa with Objective-C_I__tt653.png|Browsing Foundation's functions]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find Cocoa Browser at the following URL:&lt;br /&gt;
&lt;br /&gt;
''http://homepage2.nifty.com/hoshi-takanori/cocoa-browser''&lt;br /&gt;
&lt;br /&gt;
Since the tool is Open Source and licensed under the GPL, it will always be available for use and can't just disappear. If, for some reason, this site goes away, we'll be sure to link to where you can pick up this tool from the web site for this book:&lt;br /&gt;
&lt;br /&gt;
''http://www.oreilly.com/catalog/learncocoa2''&lt;/div&gt;</description>
			<pubDate>Fri, 07 Mar 2008 12:56:06 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:Learning_Cocoa_with_Objective-C/Appendixes/Using_the_Foundation_and_Application_Kit_API_References</comments>		</item>
	</channel>
</rss>