<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" >

<channel>
	<title>seidbereit.de &#187; Cocoa</title>
	<atom:link href="http://seidbereit.de/tags/cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://seidbereit.de</link>
	<description>ideas.each { &#124;x&#124;  post x }</description>
	<lastBuildDate>Wed, 11 Nov 2009 20:23:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Documenting Cocoa code with Doxygen</title>
		<link>http://seidbereit.de/2008/10/06/documenting-cocoa-code-with-doxygen/</link>
		<comments>http://seidbereit.de/2008/10/06/documenting-cocoa-code-with-doxygen/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 12:05:02 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Cocoa]]></category>

		<guid isPermaLink="false">http://seidbereit.de/2008/10/06/documenting-cocoa-code-with-doxygen/</guid>
		<description><![CDATA[As some of you might know, I have a strong Java background. Documenting my code just feels natural to me. That's why I was wondering about how to document the code I write in XCode. I found a <a href="http://www.macdevcenter.com/pub/a/mac/2004/08/27/cocoa.html">post on MacDevCenter</a> which describes how to use Doxygen to generate Javadoc like documentations out of Objective-C code. Since this post is quite old (2004) and I want to draw some more attention on the possibilities of documentation in XCode, I'm going to refresh the steps necessary to setup Doxygen for XCode.

First of all you'll need to get the OS X version of Doxygen from <a href="http://www.doxygen.com">doxygen.org</a>. Doxygen comes in a dmg image. Just copy the Doxygen application into your Application folder.]]></description>
			<content:encoded><![CDATA[<p>As some of you might know, I have a strong Java background. Documenting my code just feels natural to me. That&#8217;s why I was wondering about how to document the code I write in XCode. I found a <a href="http://www.macdevcenter.com/pub/a/mac/2004/08/27/cocoa.html" class="liexternal">post on MacDevCenter</a> which describes how to use Doxygen to generate Javadoc like documentations out of Objective-C code. Since this post is quite old (2004) and I want to draw some more attention on the possibilities of documentation in XCode, I&#8217;m going to refresh the steps necessary to setup Doxygen for XCode.</p>
<p>First of all you&#8217;ll need to get the OS X version of Doxygen from <a href="http://www.doxygen.com" class="liexternal">doxygen.org</a>. Doxygen comes in a dmg image. Just copy the Doxygen application into your Application folder.</p>
<p><span id="more-59"></span>Further create a folder called <span style="font-family: Courier;">Documentation</span> inside your XCode project. All generated documentation will be created in this folder.</p>
<p>Now run Doxygen and set it up for your XCode project.</p>
<ol>
<li>In Doxygen use the Wizard to set up your project:<a href="http://seidbereit.de/wp-content/uploads/2008/10/1-doxygen.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/1-doxygen-tm.jpg" alt="1_Doxygen.png" width="480" height="355" /></a></li>
<li>In the first tab of the wizard, set up your projects name and version. Further set the source code destination directory as shown in the screenshot (remember to create the Documentation directory before). Enter the directories manually, since using the Select dialog will result in absolut paths. Relative paths allow us to move the project later without reference problems.: <a href="http://seidbereit.de/wp-content/uploads/2008/10/2-doxywizard.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/2-doxywizard-tm.jpg" alt="2_Doxywizard.png" width="480" height="363" /></a></li>
<li>The second tab (Mode) allows you to define wich output entities will appear. Select to also include undocumented entities. C++ is fine for language optimization <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  : <a href="http://seidbereit.de/wp-content/uploads/2008/10/3-doxywizard.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/3-doxywizard-tm.jpg" alt="3_Doxywizard.png" width="480" height="363" /></a></li>
<li>The Output tab allows you to specify which output formats shall be generated. Make sure to check HTML with frames and navigation tree. Afterwards press OK to close the wizard. Configuring the Diagrams tab is optional:<a href="http://seidbereit.de/wp-content/uploads/2008/10/4-doxywizard.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/4-doxywizard-tm.jpg" alt="4_Doxywizard.png" width="480" height="365" /></a></li>
<li>As the second step in Doxygen save the configuration as file <span style="font-family: Courier;">Doxyfile</span> in your project folder and you&#8217;re done. Step 6 &amp; 7 are optional and not required, as they will be performed automatically from within XCode. But you may perform them to test your configuration.</li>
<li>Set the location of you project directory in step 3.</li>
<li>Step 4: press &#8220;Start&#8221; and the generation shall begin. Afterwards check the <span style="font-family: Courier;">Documentation</span> directory in your project. A folder named html has been created inside it. Check the documentation by opening the <span style="font-family: Courier;">index.html</span> file. Congrats! <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>Now on to setting up XCode to automatically execute Doxygen on build.</p>
<ol>
<li>Open your XCode project.</li>
<li>Add a new build phase (Script Build Phase) to your projects target:<a href="http://seidbereit.de/wp-content/uploads/2008/10/5-xcode.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/5-xcode-tm.jpg" alt="5_XCode.png" width="480" height="145" /></a></li>
<li>Enter &#8220;<span style="font-family: Courier;">/Applications/Doxygen.app/Contents/Resources/doxygen Doxyfile</span>&#8221; as the Shell command: <img src="http://seidbereit.de/wp-content/uploads/2008/10/6-xcode.png" alt="6_XCode.png" width="469" height="550" /></li>
</ol>
<p>On your next project build, the documentation shall be created. Try! <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
But wouldn&#8217;t it be nice to access that documentation from within XCode? So let&#8217;s set this up next.</p>
<ol>
<li>Right click your project and add a new Group. Call this group &#8220;Documentation&#8221;</li>
<li>To that group add an &#8220;Existing File&#8221; and choose the index.html in your projects <span style="font-family: Courier;">Documentation/html</span> folder (Did you compile yet? You&#8217;ll need to, to have the folder and file created <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Don&#8217;t copy item to destination groups folder and set reference type relative to project.</li>
<li>Finally you&#8217;ll have to tell XCode that this is no regular html source file. Do this by setting its file type to &#8220;text.html.documentation&#8221;. Now the file should be opened in XCodes HTML viewer. If not, check your file type settings in XCodes preferences.<a href="http://seidbereit.de/wp-content/uploads/2008/10/7-xcode1.png" class="liimagelink"><img src="http://seidbereit.de/wp-content/uploads/2008/10/7-xcode-tm1.jpg" alt="7_XCode.png" width="480" height="441" /></a></li>
</ol>
<p>Now everything should be set up for you to create great source code documentation!! Now all you need to do is document your source code. I&#8217;ll post about this later, but to get you started check out <a href="http://www.stack.nl/~dimitri/doxygen/docblocks.html" class="liexternal">http://www.stack.nl/~dimitri/doxygen/docblocks.html</a> for a brief introduction. Everybody who ever used javadoc shall find himself comfortable instantly.</p>
]]></content:encoded>
			<wfw:commentRss>http://seidbereit.de/2008/10/06/documenting-cocoa-code-with-doxygen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Feed Rollup</title>
		<link>http://seidbereit.de/2008/01/08/feed-rollup/</link>
		<comments>http://seidbereit.de/2008/01/08/feed-rollup/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 20:26:29 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Netzleben]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Freunde]]></category>
		<category><![CDATA[Netzwelt]]></category>
		<category><![CDATA[Podcast]]></category>

		<guid isPermaLink="false">http://seidbereit.de/?p=5</guid>
		<description><![CDATA[Heut will ich mal kurz die Liste meiner abonnierten Feeds posten. Als Anregung und als Information, wie ich so ticke  
Das alles n bissl geordnet, ähnlich den Tabs in meinem Netvibes.
Fangen wir mal mit den befreundeten Bloggern an (hallo allerseits!  ):


poetsch.org: Gernot&#8217;s Blog. Haben zusammen in Dresden studiert und stehen immer noch in [...]]]></description>
			<content:encoded><![CDATA[<p>Heut will ich mal kurz die Liste meiner abonnierten Feeds posten. Als Anregung und als Information, wie ich so ticke <img src='http://seidbereit.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br />
Das alles n bissl geordnet, ähnlich den Tabs in meinem <a href="http://www.netvibes.com" target="_blank" class="liexternal">Netvibes</a>.</p>
<p>Fangen wir mal mit den befreundeten Bloggern an (hallo allerseits! <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ):</p>
<ul>
<li style="list-style: none"></li>
<li><a href="http://www.poetsch.org" target="_blank" class="liexternal">poetsch.org</a>: Gernot&#8217;s Blog. Haben zusammen in Dresden studiert und stehen immer noch in Kontakt wenn er mal nach Dresden kommt, oder Ich mal Hilfe in Objective-C brauche <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
  <a href="http://www.slandart.de" target="_blank" class="liexternal">sLandArt</a>: Stefan und sein Diplom. Viele schöne Bilder aus <span style="text-decoration: line-through">Istambul</span> Istanbul!<br />
  <a href="http://blauwunder.blogspot.com" target="_blank" class="liexternal">blauwunder</a>: Dresdner Freunde, bei denen ich mir nicht sicher bin, ob die Pseudonyme aufgedeckt werden dürfen <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Hauptsächlich gehts hier um Musik und Lebenskultur. Seht selbst!<br />
  <a href="http://www.anne.amazeman.com/pixelpost/" target="_blank" class="liexternal">Netzküssen</a>: Anne, eine gute Freundin von mir, macht Fotos für Euch. Die passende Musik dazu kommt von anderen.</li>
</ul>
<p>
Weiter gehts mit Podcasts. Meist Musik, oft Geschwafel und vereinzelt auch Video:</p>
<ul>
<li style="list-style: none"></li>
<li><a href="http://dailysourcecode.com/" target="_blank" class="liexternal">DSC</a>: Der gute alte Daily Sourcecode&#8230; Die Mutter aller Podcasts vom Vater aller Podcasts &#8211; Mr. Adam Curry. Fuck you! <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
  <a href="http://www.tikibartv.com" target="_blank" class="liexternal">TikiBar TV</a>: Guter Schnaps mit guten (äußerst unterhaltsame) Stories. Cocktailrezepte von und mit Dr. Tiki, Jonny Jonny und Lala.<br />
  <a href="http://www.wahnzeit.de" target="_blank" class="liexternal">Wahnzeit</a>: Sebastian is ein netter Kerl und kommentiert hier Gott und die Welt. Nette Musik von Ernesto Sett und allerlei Absurditäten aus unser aller Alltag.<br />
  <a href="http://www.se-radio.net" target="_blank" class="liexternal">SE Radio</a>: Software Engineering Radio, was der Name schon sagt. Interviews, Tipps, Best Practices und mehr zum Thema Software Design, Pattern und anderen Belangen des Softwaretechnikers. Sehr empfehlenswert für alle Software Ingenieure und die die es werden wollen.<br />
  <a href="http://www.cocoacast.com" target="_blank" class="liexternal">Cocoacast</a>: Auch hier ein sehr Empfehlenswerter Videocast, diesmal zum Thema Cocoa &amp; Objective-C (also Programmieren auf und für Mac OS X). Lehnt sich anfangs thematisch am <a href="http://www.amazon.de/COCOA-Programming-MacOS-X-OS/dp/0321213149" target="_blank" class="liexternal">Hillegass Buch</a> an und geht nun weit darüber hinaus.<br />
  &#8230;die letzten will ich nur kurz nennen: <a href="http://podcast.rubyonrails.org/" target="_blank" class="liexternal">RoRcast</a>, <a href="http://www.flavor.de/snipsnap/space/start" target="_blank" class="liexternal">Grailscast</a></li>
</ul>
<p>
Jetz wirds noch <em>geek</em>ier&#8230; Meine IT feeds:</p>
<ul>
<li style="list-style: none"></li>
<li><a href="http://www.fscklog.com" target="_blank" class="liexternal">fscklog</a>: Das Fscklog ist meine Hauptquelle für alles was so in der Welt von Mac und iPod und darüber hinaus passiert. Täglich top aktuell.<br />
  <a href="http://www.techcrunch.com" target="_blank" class="liexternal">techCrunch</a>: Am Puls des Web. TechCrunch stellt neue Webprojekte vor. Dokumentiert den Aufstieg, Werdegang und <a href="http://www.techcrunch.com/tag/deadpool/" target="_blank" class="liexternal">Fall</a> von Web2.0 Firmen.<br />
  <a href="http://theocacao.com" target="_blank" class="liexternal">Theocacao</a>: Noch ein Mac Entwickler Blog. Interessante Artikel und spannende Anleitungen. Reinlesen <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>
Und last but not least:</p>
<ul>
<li style="list-style: none"></li>
<li><a href="http://banq.de" target="_blank" class="liexternal">banq</a>: Banq hat jetzt auch nen Feed, der die aktuelle Termine für Dresden listet. Hatte selbst mal die Seite geparst um nen Feed zu erstellen, ist jetzt aber überflüssig. Vielleicht werd ich den feed mal filtern, um nur die Termine von heute anzuzeigen. Manchmal nervt es nämlich immer alle Termine zu sehen und bei neu eingefügten Terminen alle nachfolgenden als ungelesen im netvibes zu sehen.. Aber mal schaun. <img src='http://seidbereit.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>
So, nun seit Ihr dran. Was denkt Ihr, was ich denn unbedingt noch abonnieren sollte? Ist euer Blog lesenswert?</p>
]]></content:encoded>
			<wfw:commentRss>http://seidbereit.de/2008/01/08/feed-rollup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
