<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>xcode &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/xcode/</link>
	<description>Feed of posts on WordPress.com tagged "xcode"</description>
	<pubDate>Sat, 28 Nov 2009 22:05:22 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Cross Platform Mobile Development Documentation]]></title>
<link>http://tetontech.wordpress.com/2009/11/28/cross-platform-mobile-development-documentation/</link>
<pubDate>Sat, 28 Nov 2009 01:25:16 +0000</pubDate>
<dc:creator>tetontech</dc:creator>
<guid>http://tetontech.wordpress.com/2009/11/28/cross-platform-mobile-development-documentation/</guid>
<description><![CDATA[Available on the wiki you will find documentation on how to start using the latest 1.6 beta to devel]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Available on <a href="http://quickconnect.pbworks.com/">the wiki</a> you will find documentation on how to start using the latest 1.6 beta to develop for iPhone, Android, and Palm with the same HTML, CSS, and JavaScript code.  I hope this helps you creating the apps that you want.</p>
<p>I&#8217;m still working on getting Blackberry development to work the same way as the others but I&#8217;m close to having something that works.</p>
<p>I&#8217;m also uploading 1.6 beta6.  It makes some small fixes related to the Images directory in the project.  If you are using beta5 you should upgrade.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TubeFlect bekommt einen eigenen Blog]]></title>
<link>http://nkreipke.wordpress.com/2009/11/28/tubeflect-bekommt-einen-eigenen-blog/</link>
<pubDate>Fri, 27 Nov 2009 22:14:36 +0000</pubDate>
<dc:creator>nkreipke</dc:creator>
<guid>http://nkreipke.wordpress.com/2009/11/28/tubeflect-bekommt-einen-eigenen-blog/</guid>
<description><![CDATA[So, nkreipke ist in Zukunft wieder privat Alle neuen Fortschrittsmeldungen über TubeFlect werdet ihr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So, nkreipke ist in Zukunft wieder privat <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Alle neuen Fortschrittsmeldungen über TubeFlect werdet ihr ab sofort unter dem neuen Blog <a href="http://thetubeflectproject.wordpress.com/">The TubeFlect Project</a> finden.</p>
<p>Eigentlich hab ich WordPress gesagt dass er auf nkreipke einen RSS-Reader in der Sidebar anzeigen soll&#8230; er tuts aber nicht. Aber naja, wir wollen die Server ja nicht überanstrengen, bei den WordPress-Servern ist es ja schon ein Wunder wenn ich überhaupt einen Blog sehen kann&#8230; und das klappt ja schon ganz gut, meistens jedenfalls.</p>
<p>Jedenfalls gibt es hier wieder nur noch (wie früher in den guten alten Zeiten) die normalen Artikel. Ist eigentlich auch besser, schließlich interessiert sich nicht jeder für die Programmierung. Und die, die es interessiert, abonnieren einfach auch den neuen Blog. Einfach, oder? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone Dev Program: Taxes = Fear ]]></title>
<link>http://iphonedevforme.wordpress.com/2009/11/27/iphone-dev-program-taxes-fear/</link>
<pubDate>Fri, 27 Nov 2009 01:27:01 +0000</pubDate>
<dc:creator>kbegemandev</dc:creator>
<guid>http://iphonedevforme.wordpress.com/2009/11/27/iphone-dev-program-taxes-fear/</guid>
<description><![CDATA[After a long pause in my writing these posts, I am back with a goal. I would like to have at least 3]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After a long pause in my writing these posts, I am back with a goal. I would like to have at least 3 posts a week (thats a 7 day week of course). I currently a college student, working  full time ( 8-5 Mon &#8211; Fri) while attempting to learn how to program for the iPhone, Android (thats another story, maybe ill blog that eventually) and general C++. All in all, I am quite busy, BUT, this blog is still a very strong interest of mine. SO, with that said, lets see how it goes!</p>
<p>Moving on, I am currently working on 2 application idea&#8217;s, both novelty and not TOO important. However, before I can sell anything, I must submit my banking and ::cringe:: tax information. I glanced at the required info and it actually looked pretty simple, which scares me. Taxes are not simple. With that said, we shall see what happens when I actually begin filling the forms out. I will post a walk through/review of my experience once I am ready. Expect this in a week or so.</p>
<p>Also, feedback would be great! Ask me questions, give info, tell me to go away, I dont care, as long as there is a form of communication! I will answer all questions with a new post, even if it is one question per post. Anyone who would like to share a story or there own advice, email me at iphonedev4me@gmail.com and I will gladly create a new post with credit to you!</p>
<p>On a final note, happy Thanksgiving!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Es kann YouTube]]></title>
<link>http://nkreipke.wordpress.com/2009/11/25/es-kann-youtube/</link>
<pubDate>Wed, 25 Nov 2009 21:25:43 +0000</pubDate>
<dc:creator>nkreipke</dc:creator>
<guid>http://nkreipke.wordpress.com/2009/11/25/es-kann-youtube/</guid>
<description><![CDATA[TubeFlect kann ab heute doch tatsächlich schon mal das Grundlegende, was es können muss: YouTube-Vid]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>TubeFlect kann ab heute doch tatsächlich schon mal das Grundlegende, was es können muss: YouTube-Videos abspielen. Das soll vorerst nur als Test laufen, weshalb das Layout auch noch nicht perfekt aussieht. Wie es funktioniert: Man nehme einen handelsüblichen YouTube-Link, kopiere ihn in das Textfeld und klickt auf &#8220;Load Video&#8221;. TubeFlect schnappt sich daraufhin den Flashplayer aus der YouTube-Seite und lädt ihn im Fenster. Das beste daran: Da er die Elemente rund um den Flash-Player nicht laden muss, geht der Ladeprozess schneller als auf konventionelle Methode &#8211; ein Pluspunkt für Leute mit schwachen Internetleitungen.</p>
<p>Somit haben wir schon mal einen Grundstein gelegt für eines der Prioritäten von TubeFlect: Das schnelle Laden von Videos. Den Text und vor allen Dingen die Werbung drumherum, die immer zuerst geladen werden, werden jetzt elegant übersprungen.</p>
<p><a href="http://nkreipke.wordpress.com/files/2009/11/bildschirmfoto-2009-11-25-um-22-00-18.png"><img class="aligncenter size-full wp-image-513" title="Bildschirmfoto 2009-11-25 um 22.00.18" src="http://nkreipke.wordpress.com/files/2009/11/bildschirmfoto-2009-11-25-um-22-00-18.png" alt="" width="600" height="469" /></a>Zum ersten Mal kann man jetzt schon die Grundidee von TubeFlect sehen: Das Video im Mittelpunkt. Wie gesagt, alles erstmal nur ein Test, das Layout des Videobrowsers gefällt uns auch nicht <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Zum Screenshot: Die YouTube-Suche funktioniert noch nicht, die Buttons in der Menüleiste auch nicht. Die letzten Probleme mit der Navigationsleiste sind behoben, so wird sie vorerst bleiben. Der Vollbildmodus vom VouTube-Video funktioniert selbstverständlich und auch maximieren kann man die Geschichte schon. Die 4 Favoritenordner hab ich mit dem Plusbutton hinzugefügt, das funktioniert also auch schon gut.</p>
<p><a href="http://nkreipke.wordpress.com/files/2009/11/bildschirmfoto-2009-11-25-um-22-03-01-2.png"><img class="aligncenter size-full wp-image-514" title="Bildschirmfoto 2009-11-25 um 22.03.01 (2)" src="http://nkreipke.wordpress.com/files/2009/11/bildschirmfoto-2009-11-25-um-22-03-01-2.png" alt="" width="600" height="480" /></a>Wir haben heute zusätzlich zum Browser auch unter der Haube ein paar Sachen geändert. Der Quelltext ist insgesamt kleiner geworden, es wird nicht mehr durch unnötige Variablen Speicher verbraucht. Auf dem Screenshot seht ihr übrigens FileMerger, ein Hilfsprogramm mit dem man 2 Dateien miteinander vergleichen kann. Rechts ist die alte Version des FolderListControllers, links die neue Version.</p>
<p>Zum Schluss noch 2 Sachen: Erstens sieht man, dass wir wirklich nur träge weiterkommen. Das liegt daran, dass wir täglich wegen dem Schulstress momentan nur maximal 2 Stunden pro Tag Zeit für TubeFlect haben. Außerdem bin ich noch nicht gerade der Profi in Sachen Cocoa-Programmierung und Obi versteht nur Bahnhof vom Quelltext <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Außerdem möchte ich demnächst einen zweiten Blog eröffnen, der sich nur um TubeFlect kümmert. Ich möchte diesen Blog weiterhin als Privatblog behandeln und nicht mit Changelogs vollstopfen. Ich sage euch bezüglich der Änderung rechtzeitig bescheid.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone Coding – Learning About UIWebViews by Creating a Web Browser | iCodeBlog]]></title>
<link>http://aaearhart.wordpress.com/2009/11/24/iphone-coding-%e2%80%93-learning-about-uiwebviews-by-creating-a-web-browser-icodeblog/</link>
<pubDate>Tue, 24 Nov 2009 23:19:55 +0000</pubDate>
<dc:creator>aaearhart</dc:creator>
<guid>http://aaearhart.wordpress.com/2009/11/24/iphone-coding-%e2%80%93-learning-about-uiwebviews-by-creating-a-web-browser-icodeblog/</guid>
<description><![CDATA[iPhone Coding – Learning About UIWebViews by Creating a Web Browser | iCodeBlog. &nbsp; &nbsp; ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://icodeblog.com/2008/12/19/iphone-coding-learning-about-uiwebviews-by-creating-a-web-browser/">iPhone Coding – Learning About UIWebViews by Creating a Web Browser &#124; iCodeBlog</a>.</p>
<p>&#160;</p>
<p style="text-align:center;"><a href="http://icodeblog.com/2008/12/19/iphone-coding-learning-about-uiwebviews-by-creating-a-web-browser/"><img src='http://aaearhart.files.wordpress.com/2009/11/screenshot_06.png' alt='' /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[YouTube				- XCode Tutorial: Programming A UIWebView]]></title>
<link>http://aaearhart.wordpress.com/2009/11/24/youtube-xcode-tutorial-programming-a-uiwebview/</link>
<pubDate>Tue, 24 Nov 2009 22:46:06 +0000</pubDate>
<dc:creator>aaearhart</dc:creator>
<guid>http://aaearhart.wordpress.com/2009/11/24/youtube-xcode-tutorial-programming-a-uiwebview/</guid>
<description><![CDATA[YouTube - XCode Tutorial: Programming A UIWebView.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.youtube.com/watch?v=yICZb91Poxs">YouTube				- XCode Tutorial: Programming A UIWebView</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Recoding]]></title>
<link>http://nkreipke.wordpress.com/2009/11/24/recoding/</link>
<pubDate>Tue, 24 Nov 2009 21:32:17 +0000</pubDate>
<dc:creator>nkreipke</dc:creator>
<guid>http://nkreipke.wordpress.com/2009/11/24/recoding/</guid>
<description><![CDATA[Wie es der Teufel so wollte, habe ich gemeinsam mit Obi das Grundgerüst von TubeFlect neugeschrieben]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Wie es der Teufel so wollte, habe ich gemeinsam mit Obi das Grundgerüst von TubeFlect neugeschrieben. Also kompletter Neustart mit neuer, leerer Projektdatei. Durch das Recoding haben wir einige Probleme behoben und solche, die noch kommen sollten, direkt verhindert:</p>
<ul>
<li>Alle Controls wurden getaggt und ausreichend mit Identifiers versehen.</li>
<li>Copy-Paste ist wieder möglich.</li>
<li>Wir haben direkt mit 2 TableViews angefangen, und so konnten wir das bestehende Problem mit dem Löschen und Editieren der Hauptkategorien beheben.</li>
</ul>
<p>Ansonsten sind wir eigentlich auf dem Stand von gestern. Dafür gibbet auch noch mal eine größere Auswahl von momentanen Screenshots:</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to reuse custom cells created in IB]]></title>
<link>http://kentfonager.wordpress.com/2009/11/24/reuse-of-cells-created-in-ib/</link>
<pubDate>Tue, 24 Nov 2009 21:28:28 +0000</pubDate>
<dc:creator>Kent Fonager</dc:creator>
<guid>http://kentfonager.wordpress.com/2009/11/24/reuse-of-cells-created-in-ib/</guid>
<description><![CDATA[I just got an app rejected from the AppStore, because of the use of a call to a private API. I calle]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I just got an app rejected from the AppStore, because of the use of a call to a private API. I called &#8220;setReuseIdentifier&#8221; on an UITableViewCell object. My bad <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>But how does one make sure that your custom tableview cell, created in IB, actually WILL be reused ? I thought the right way, was to do the above. Not &#8230;</p>
<p>If you create a UITableViewCell in code, you&#8217;ll normally set an reuseIdentifier :</p>
<p><code>- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier </code></p>
<p>But what if you&#8217;re loading your custom cell from a NIB file ? Then the little simple trick is to fill out &#8220;Identifier&#8221; field in the &#8220;Attributes Inspector&#8221; :</p>
<p><a href="http://kentfonager.wordpress.com/files/2009/11/resuseidentifier.png"><img src="http://kentfonager.wordpress.com/files/2009/11/resuseidentifier.png" alt="" title="reuseidentifier" width="287" height="162" class="alignnone size-full wp-image-22" /></a></p>
<p>This way your can reuse the cell in your tableview, as you normally do by calling :</p>
<p><code>static NSString *CustomCellIdentifier = @"CurrencyCell";</code></p>
<p><code>CurrencyCell *cell = (CurrencyCell *)[tableView dequeueReusableCellWithIdentifier: CustomCellIdentifier];</code></p>
<p>I hope this post will be useful for you and save you some time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Glyphish – Great icons for great iPhone applications]]></title>
<link>http://aaearhart.wordpress.com/2009/11/24/glyphish-%e2%80%93-great-icons-for-great-iphone-applications/</link>
<pubDate>Tue, 24 Nov 2009 06:06:29 +0000</pubDate>
<dc:creator>aaearhart</dc:creator>
<guid>http://aaearhart.wordpress.com/2009/11/24/glyphish-%e2%80%93-great-icons-for-great-iphone-applications/</guid>
<description><![CDATA[130 icons for iPhone applications Designed and carefully optimized for use on toolbars and tab bars ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>130 icons for iPhone applications</p>
<p>Designed and carefully optimized for use on toolbars and tab bars in iPhone apps, they&#38;apos;re also perfect for Android apps, websites, t-shirts, tattoos and more.</p>
<p>via <a href="http://glyphish.com/">Glyphish – Great icons for great iPhone applications</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Changing __MyCompanyName__]]></title>
<link>http://idevapp.wordpress.com/2009/11/22/changing-__mycompanyname__/</link>
<pubDate>Sun, 22 Nov 2009 07:46:19 +0000</pubDate>
<dc:creator>webophir</dc:creator>
<guid>http://idevapp.wordpress.com/2009/11/22/changing-__mycompanyname__/</guid>
<description><![CDATA[When ever you create a new file in XCode, you will see the comment block in a file like this: // // ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When ever you create a new file in XCode, you will see the comment block in a file like this:</p>
<p><code><br />
//<br />
//  Object.h<br />
//  ObjectSample<br />
//<br />
//  Created by Sung Lee on 11/21/09.<br />
//  Copyright 2009 __MyCompanyName__. All rights reserved.<br />
//<br />
</code></p>
<p>It would be nice if you could put &#8220;Your Company Name&#8221; other than __MyCompanyName__. You can do this by typing this code in your terminal app.</p>
<p><code><br />
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "<strong><em>Change_this_to_your_name</em></strong>";}'<br />
</code></p>
<p>Now after restarting XCode, you can see your name when add new file in your project.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Website into mobile phone app]]></title>
<link>http://webpageauthority.wordpress.com/2009/11/19/website-into-mobile-phone-app/</link>
<pubDate>Thu, 19 Nov 2009 19:05:02 +0000</pubDate>
<dc:creator>Bogdan Michka</dc:creator>
<guid>http://webpageauthority.wordpress.com/2009/11/19/website-into-mobile-phone-app/</guid>
<description><![CDATA[For those of you not afraid to get your hands dirty with Apple&#8217;s XCode, you can use PhoneGap t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For those of you not afraid to get your hands dirty with Apple&#8217;s XCode, you can use PhoneGap to wrap your website in a iPhone compatible format.</p>
<p><a href="http://www.webmonkey.com/blog/Make_Your_Site_An_iPhone_App?utm_source=feedburner&#38;utm_medium=feed&#38;utm_campaign=Feed%3A+wired%2Findex+%28Wired%3A+Index+3+%28Top+Stories+2%29%29&#38;utm_content=Bloglines">Make Your Site An iPhone App &#8211; Webmonkey</a><br />
<blockquote>You can get most of the benefits of an iPhone application without writing a single line of Objective C. An open source project called PhoneGap lets your wrap your website in iPhone App goodness. And you can even charge for your creation.</p></blockquote>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=5b2feac9-d953-8bef-92dd-b71c97f61291" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linker Errors On Unit Test Compile]]></title>
<link>http://objectivesee.wordpress.com/2009/11/19/linker-errors-on-unit-test-compile/</link>
<pubDate>Thu, 19 Nov 2009 15:49:46 +0000</pubDate>
<dc:creator>eagecl</dc:creator>
<guid>http://objectivesee.wordpress.com/2009/11/19/linker-errors-on-unit-test-compile/</guid>
<description><![CDATA[I’ve sunk probably 16 hours into this problem, with no results. Today I finally bit the bullet and w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="font-size:12pt;">I’ve sunk probably 16 hours into this problem, with no results.  Today I finally bit the bullet and went to plan-C.  Thankfully plan-C worked, plan-D would have involved gasoline, matches, and my MacBook.  The problem as best I can explain it is this.  It started when I was building a simple domain object, simple properties with an initWithDictionary:(NSDictionary *)dictionary </span>method. I had created the object, wrote the unit test, and ran the test to be sure that my setup worked but my test should fail.  Then I implemented the method, and ran my test hoping for a hole-in-one.  What I got was about as useful as a hole-in-the-head.  The compile failed with a vague error about my .octest bundle being linked to a file that was not available at runtime.  I’ve tried everything, cleaning all targets, deleting the build directory, double-checking all of the linked frameworks and paths, and even removing and adding one-by-one my test files.  Still no joy.  The funny part was that when I changed the active target to my application target, the app would compile fine.  To make a 16 hour story short, I created a new project and copied all of my resources and files into the new project.  It took about 20 min. and worked great.  I’m now ready to continue until the next inexplicable error.  Who knew unit testing was this difficult.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Intel Threading Building Blocks in a C++ Xcode Project under Mac OS X]]></title>
<link>http://punchcard.wordpress.com/2009/11/18/using-intel-threading-building-blocks-in-a-c-xcode-project-under-mac-os-x/</link>
<pubDate>Wed, 18 Nov 2009 18:30:19 +0000</pubDate>
<dc:creator>tinnefeld</dc:creator>
<guid>http://punchcard.wordpress.com/2009/11/18/using-intel-threading-building-blocks-in-a-c-xcode-project-under-mac-os-x/</guid>
<description><![CDATA[This tutorial should explain briefly how to include and use the Intel Threading Building Blocks (TBB]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This tutorial should explain briefly how to include and use the Intel Threading Building Blocks (TBB) in a C++ Xcode Project in OSX. Intel has put together an excellent <a href="http://software.intel.com/en-us/articles/intel-threading-building-blocks-tutorial-pdf/" target="_blank">tutorial</a> that explains the basics, but it assumes that you have the libraries already included in your project.</p>
<p>1) <a href="http://www.threadingbuildingblocks.org/file.php?fid=77">Download</a> the source code from a stable TBB release (e.g. tbb22_20090809oss_src.tgz).</p>
<p>2) Unpack it and run &#8220;make&#8221;.</p>
<p>3) Create a new project in Xcode, e.g. Command Line Tool from type C++ stdc++. The project in this example is called &#8220;tbbWorkbench&#8221;.</p>
<p>4) Open Finder and copy the tbb folder into your project&#8217;s folder:</p>
<p><a href="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-45-536.png"><img class="aligncenter size-medium wp-image-19" title="Bildschirmfoto 2009-11-18 um 18.45.53" src="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-45-536.png?w=300" alt="" width="300" height="170" /></a></p>
<p>5) Go back into Xcode and link the libraries &#8220;libtbb.dylib&#8221; and &#8220;libtbbmalloc.dylib&#8221; from the tbb22_20090809oss/build/macos_intel64_gcc_cc4.2.1_os10.6.2_release/ folder that is inside your project folder to your target.</p>
<p><a href="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-43-45.png"><img class="aligncenter size-medium wp-image-20" title="Bildschirmfoto 2009-11-18 um 18.43.45" src="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-43-45.png?w=209" alt="" width="209" height="300" /></a>6) Add the &#8220;Header Search Path&#8221; (tbb22_20090809oss/include) and make sure that you always search user paths.</p>
<p><a href="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-44-36.png"><img class="aligncenter size-medium wp-image-21" title="Bildschirmfoto 2009-11-18 um 18.44.36" src="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-44-36.png?w=230" alt="" width="230" height="300" /></a>7) Now, add a &#8220;New Copy Files Build Phase&#8221; where you copy the both TBB .dylib files to your &#8220;Products Directory&#8221;. This is needed as otherwise the libraries won&#8217;t be found during runtime and you&#8217;ll face a &#8220;Error from Debugger: Cannot access memory at address 0&#215;0&#8243;.</p>
<p><a href="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-43-10.png"><img class="aligncenter size-medium wp-image-22" title="Bildschirmfoto 2009-11-18 um 18.43.10" src="http://punchcard.wordpress.com/files/2009/11/bildschirmfoto-2009-11-18-um-18-43-10.png?w=300" alt="" width="300" height="232" /></a> 8 ) As a final step, you can now e.g. insert the first sample code from the Intel Tutorial and you&#8217;re ready to go ! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align:center;">
<p>- Christian</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Best thing I ever did]]></title>
<link>http://rheide.wordpress.com/2009/11/17/best-thing-i-ever-did/</link>
<pubDate>Tue, 17 Nov 2009 13:08:35 +0000</pubDate>
<dc:creator>rheide</dc:creator>
<guid>http://rheide.wordpress.com/2009/11/17/best-thing-i-ever-did/</guid>
<description><![CDATA[I&#8217;ve been developing for the iPhone for about a month now, and the differences between Mac and]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been developing for the iPhone for about a month now, and the differences between Mac and PC are starting to sink in more and more. I&#8217;ve had some wonderful &#8216;eureka&#8217; moments where something just clicked and I realized the Apple way of doing things &#8482;. The most memorable epiphamy came to me during a rather dull meeting, while I was playing with the touchpad of the Macbook Pro that I&#8217;m using. For some reason I swiped some dust off the pad with two fingers, and suddenly I noticed the window beginning to scroll. Something clicked in my mind, which resulted in an audible &#8216;AH!&#8217;, after which everyone in the meeting looked in my general direction with looks of surprise on their face. Score one for multitouch. It&#8217;s awesome.</p>
<p>This anecdote, however, is by no means related to the title of this post. In fact, it&#8217;s rather the opposite of the main feeling I wish to convey. While the Apple way is getting to me, there are still things that don&#8217;t make sense to me even if I lived to be a hundred years (which I will). The Interface Builder is one of those things. At first glance it seems completely counter-intuitive, then I spent some time learning it and I thought it was brilliant. Then I actually used it and I realized that it&#8217;s pretty much useless. There&#8217;s never been a GUI builder that can replace good old-fashioned code, and this one is no exception. Perhaps I was expecting too much though, so I&#8217;ve been trying to use it as a supplement to the actual code, trying to design generic UI components that I can re-use later on. Well, no, not really. It doesn&#8217;t really let you. If you want to use the interface builder, you&#8217;d better damn well define all your UI components inside it, otherwise you&#8217;re screwed. Any form of nesting and you&#8217;re back to coding it yourself. Oh, and don&#8217;t get me started on the mystifying ways of figuring out in which initialization method you&#8217;re supposed to link your buttons to your actions&#8230;</p>
<p>Pardon me for ranting. I am coming from a windows background, and it&#8217;s a background that, remarkably,  I&#8217;ve grown to appreciate over time. I&#8217;ll move on to the good stuff in a minute, but I&#8217;d like to end my rant first with a little code snippet, not of objective-C, but of Java, that demonstrates the incredible versatility and immensely powerful syntax of the language. Here it is:</p>
<blockquote><p>button.setBackground(Color.red);</p></blockquote>
<p>Rather anticlimactic, wasn&#8217;t it? Does anyone want to guess how to set the background color of a button on the iPhone platform? I&#8217;ll let you in on a little secret: you can set a background color, but it doesn&#8217;t actually change the color of the button. It just changes the color in the four tiny rounded corners that the button covers. Without going into details about how to actually accomplish this in Objective-C (which involves images and stretchabilities), I&#8217;d just like to say that the solution is just plain stupid. It&#8217;s another example that shows that Apple is clearly catering to their users, but not to their programmers.</p>
<p>Ok, enough ranting, let&#8217;s talk about the good parts. I&#8217;ve been developing on the macbook for quite some time now, and it&#8217;s a pretty awesome machine. With a few drawbacks though. In particular, I&#8217;m not too happy about the keyboard. And the display. And the development software. And the touchpad. And the external mouse. Ok, basically it sucks. I&#8217;ll list the stuff here that annoyed me and how I fixed it.</p>
<ul>
<li>Japanese keyboard layout &#8211;&#62; switched to external US English keyboard: productivity +500%</li>
<li>Mac function keys that I&#8217;m not used to &#8211;&#62; switched external keyboard&#8217;s control key and windows key function in system config: productivity +400%</li>
<li>Changed XCode key mappings to correspond to Windows/Eclipse equivalent. Just fixing the Home and End key increased productivity by 6000% (more or less)</li>
<li>Mouse fix one: added external mouse for extra speed: productivity +10% &#8211; no matter how you configure the mac&#8217;s mouse settings, the mouse is either too sluggish or apeshit crazy.</li>
<li>Mouse fix two: using <a href="http://synergy2.sourceforge.net/" target="_blank">Synergy </a>to use my Windows mouse instead &#8211;&#62; productivity increase: 5000%</li>
<li>Damn glossy screen that reflects the ceiling lights above my desk no matter in which position I put the laptop &#8211;&#62; connected to external monitor (with higher resolution): productivity +1000%</li>
<li>Completely unrelated to all of the above but GOD WHY aren&#8217;t there namespaces in Objective-C?!?!</li>
</ul>
<p>Summarizing what I&#8217;ve done, I&#8217;ve basically thrown away as much Mac as possible and replaced it with the PC equivalent. You can hate me if you want, but in my professional opinion as a programmer it was just slowing me down. After enduring it for a month I think I have a right to say that. If possible I&#8217;d rather ditch the xcode playmobil programming environment too, but the integration with the iPhone is still too convenient to consider such a thing. I wish that <a href="http://www.eclipse.org/" target="_blank">Eclipse </a>can somehow support the iPhone, because I think Eclipse is better than xcode in every other way. Well, except memory usage of course. Eclipse has a bit of a fat butt, but it&#8217;ll satisfy you in many ways!</p>
<p>Well now, this turned out to be a huge troll. I do feel slightly sorry about that. I&#8217;m still learning new stuff about the platform every day, and I&#8217;m sure that I&#8217;ll become happier and more efficient the more I use it. But just to annoy you guys I will troll a bit more by saying that I get the impression that developing on the mac will be enjoyed the most by people who enjoy getting a fresh cup of coffee after every line of code. There.</p>
<p>Despite this post I am quite happy actually. After setting up the macbook to behave like a PC as much as possible I feel that I&#8217;ve got my productivity back. I got a lot of work done today not in the least thanks to the English keyboard and the quicker mouse. There are those days where you just have to keep your down and churn out code as much as you can. It might not be the most exciting aspect of programming, but sometimes it&#8217;s necessary. And thanks to the new keyboard, mouse, screen and key mappings I&#8217;ve managed to do my job in less time, and in a better mood. Don&#8217;t neglect your quality of job-life, guys!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Sending email without and with HTML formatting in Objective-C]]></title>
<link>http://webbuilders.wordpress.com/2009/11/16/sending-email-without-and-with-html-formatting-in-objective-c/</link>
<pubDate>Mon, 16 Nov 2009 11:12:49 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/16/sending-email-without-and-with-html-formatting-in-objective-c/</guid>
<description><![CDATA[This is the standard of sending email in Objective-C iPhone App. Use a mailto url + stringByAddingPe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is the standard of sending email in Objective-C iPhone App.</p>
<p>Use a <code>mailto</code> url + <code>stringByAddingPercentEscapesUsingEncoding</code> + HTML.</p>
<p>Simple Email without any sentences or any HTML formatting:</p>
<p><span style="color:#00ccff;">NSURL *url = [[NSURL alloc] initWithString;@&#8221;mailto:myname@gmail.com?subject=Hello&#38;body=Hi&#8221;];<br />
[[UIApplication sharedApplication] openURL:url];</span></p>
<p>Email with HTML formatting:</p>
<p><span style="color:#00ccff;">NSString *emailBody = @&#8221;&#60;table&#62;<br />
&#60;tr&#62;&#60;td style=&#8217;text-align:right&#8217;&#62;&#60;b&#62;FirstName&#60;/b&#62;:&#60;/td&#62;<br />
&#60;td&#62;Michael&#60;/td&#62;&#60;/tr&#62;&#60;tr&#62;<br />
&#60;td style=&#8217;text-align:right&#8217;&#62;&#60;b&#62;LastName&#60;/b&#62;:&#60;/td&#62;&#60;td&#62;Jackson&#60;/td&#62;&#60;/tr&#62;<br />
&#60;tr&#62;&#60;td style=&#8217;text-align:right&#8217;&#62;<br />
&#60;b&#62;Job&#60;b/&#62;:&#60;/td&#62;&#60;td&#62;Artist&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#8221;;<br />
NSString *encodedBody =<br />
[emailBody stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];<br />
NSString *urlString =<br />
[NSString stringWithFormat:@"mailto:myname@gmail.com?subject=Hello&#38;body=%@", encodedBody];<br />
NSURL *url = [[NSURL alloc] initWithString:urlString];<br />
[[UIApplication sharedApplication] openURL:url];</span></p>
<p>iPhone simulator does not have a Mail.app. You can only email url in device. However, you can consider to use compiler statements to create specific simulator/device code. You can use UIAlertView to preview the email string. Consider using UITextView to preview the text and UIWebView to preview HTML in the simulator.</p>
<div>
<div>
<pre><span style="color:#00ccff;">#if TARGETIPHONESIMULATOR
    //compiler specific code
#else
    // device specific code
#endif</span>
</pre>
</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[URL must be url-encoded inside a NSString in Objective-C]]></title>
<link>http://webbuilders.wordpress.com/2009/11/16/url-must-be-url-encoded-inside-a-nsstring-in-objective-c/</link>
<pubDate>Mon, 16 Nov 2009 10:54:21 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/16/url-must-be-url-encoded-inside-a-nsstring-in-objective-c/</guid>
<description><![CDATA[When you consider putting url into a string that contains mailto:, you would have to url-encode the ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When you consider putting url into a string that contains mailto:, you would have to url-encode the string in Objective-C in iphone app.</p>
<p>iPhone Mail app expects &#38; supports HTML in the email body of mailto:. If you use text formats such as /t /r /n, it won&#8217;t support text format in the email body.</p>
<p>[NSString stringWithFormat:@"mailto"me@gmail.com?subject=hellow&#38;body=urlencode];</p>
<p>How to url-encode the string<br />
Reference: <a href="http://www.w3schools.com/TAGS/ref_urlencode.asp">http://www.w3schools.com/TAGS/ref_urlencode.asp</a><br />
1) replace space to %20<br />
2) replace &#38; with %26<br />
3) replace &#60; with %3C<br />
4) replace &#62; with %3E<br />
5) replace ! with %21<br />
6) replace ( with %28<br />
7) replace ) with %29<br />
8 ) replace ; with %3B<br />
9) replace : with %3A<br />
10) replace / with %2F<br />
11) replace = with %3D<br />
12) replace &#8221; with %22<br />
13) . remain the same single dot .<br />
14) &#8211; remain the same as single dash -</p>
<p>To display &#8220;&#60;&#8221; &#38; &#8220;&#62;&#8221; symbol inside HTML you must use &#38;lt; and &#38;gt;<br />
&#38;lt; =&#62; %26lt%3B<br />
&#38;gt; =&#62; %26gt%3B</p>
<p>Instruction:<br />
1) url-encode the string<br />
2) escape any entities</p>
<p><strong>Examples</strong><br />
From HTML url:<br />
&#38;lt;http://www.google.com/&#38;gt;<br />
After url-encoding:<br />
%26lt%3Bhttp%3A%2F%2Fgoogle.com%26gt%3B</p>
<p>From HTML url:<br />
&#38;lt;http://www.amazon.com/o/ASIN/0545010225/karelsofwa-20&#38;gt;<br />
After url-encoding:<br />
%26lt%3Bhttp%3A%2F%2Fwww.amazon.com%2Fo%2FASIN%2F0545010225%2Fkarelsofwa-20%26gt%3B</p>
<p>Example of HTML:</p>
<p>Check this out!&#60;br&#62;&#60;br&#62;Harry Potter and the Deathly Hallows (Book 7)<br />
by J. K. Rowling.&#60;br&#62;&#60;br&#62;&#38;lt;http://www.amazon.com/o/ASIN/0545010225/<br />
karelsofwa-20&#38;gt;&#60;br&#62;&#60;br&#62;&#8230; or from your iPhone, &#38;lt;http://<br />
TeleMoose.com/d_0545010225&#38;gt;</p>
<p>becomes&#8230;.:</p>
<p>Check%20this%20out%21%3Cbr%3E%3Cbr%3EHarry%20Potter%20and%20the%<br />
20Deathly%20Hallows%20%28Book%207%29%20by%20J.%20K.%20Rowling.%3Cbr%3E<br />
%3Cbr%3E%26lt%3Bhttp%3A%2F%2Fwww.amazon.com%2Fo%2FASIN%2F0545010225%<br />
2Fkarelsofwa-20%26gt%3B%3Cbr%3E%3Cbr%3E&#8230;%20or%20from%20your%20iPhone<br />
%2C%20%26lt%3Bhttp%3A%2F%2FTeleMoose.com%2Fd_0545010225%26gt%3B</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Sending image in iPhone Mail App]]></title>
<link>http://webbuilders.wordpress.com/2009/11/16/sending-image-in-iphone-mail-app/</link>
<pubDate>Mon, 16 Nov 2009 10:45:09 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/16/sending-image-in-iphone-mail-app/</guid>
<description><![CDATA[Embedded image is the only way to include image within Mail App inside iPhone App. No API is allowed]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Embedded image is the only way to include image within Mail App inside iPhone App.</p>
<p>No API is allowed to access Mail attachments<br />
Mail URL does not support attachments</p>
<p>Other Email Image Options:<br />
1) Create your build-in SMTP client<br />
2) Send image to a 3rd party server and send the email from web server<br />
3) Save image to Photo library where you can email your photo</p>
<p>Use &#60;b&#62; before and after &#60;img&#62; tag to avoid Gmail or Hotmail to strip your &#60;img&#62; image tag after sending email out from iphone</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Use Relative Paths When Adding Frameworks | iPhone Development Blog]]></title>
<link>http://aaearhart.wordpress.com/2009/11/10/use-relative-paths-when-adding-frameworks-iphone-development-blog/</link>
<pubDate>Tue, 10 Nov 2009 21:30:58 +0000</pubDate>
<dc:creator>aaearhart</dc:creator>
<guid>http://aaearhart.wordpress.com/2009/11/10/use-relative-paths-when-adding-frameworks-iphone-development-blog/</guid>
<description><![CDATA[System/Library/Frameworks/AudioToolbox.framework via Use Relative Paths When Adding Frameworks | iPh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>System/Library/Frameworks/AudioToolbox.framework</p>
<p>via <a href="http://iphoneincubator.com/blog/xcode/use-relative-paths-when-adding-frameworks">Use Relative Paths When Adding Frameworks &#124; iPhone Development Blog</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Building xcode project from command line : A tutorial]]></title>
<link>http://mithin.in/2009/11/10/building-xcode-project-from-command-line-a-tutorial/</link>
<pubDate>Tue, 10 Nov 2009 17:07:14 +0000</pubDate>
<dc:creator>mithin</dc:creator>
<guid>http://mithin.in/2009/11/10/building-xcode-project-from-command-line-a-tutorial/</guid>
<description><![CDATA[Recently, I had to integrate a xcode project into a build script such that the code compiles from co]]></description>
<content:encoded><![CDATA[Recently, I had to integrate a xcode project into a build script such that the code compiles from co]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone Objective-C Compare String values]]></title>
<link>http://webbuilders.wordpress.com/2009/11/10/objective-c-compare-string-values/</link>
<pubDate>Tue, 10 Nov 2009 09:58:21 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/10/objective-c-compare-string-values/</guid>
<description><![CDATA[isEqualToString: method should be used to compare values of the string objects. if([myString isEqual]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>isEqualToString: method should be used to compare values of the string objects.</p>
<p><span style="color:#00ccff;">if([myString isEqualToString:@"1"] &#124;&#124; [myString isEqualToString:@"2"] &#124;&#124; [myString isEqualToString:@"3"])<br />
action = @&#8221;showDifferences&#8221;;</span></p>
<p>If you use the == operator on strings, you are comparing the strings&#8217; addresses (allocated memory) rather than the values of the string objects.</p>
<p><span style="color:#00ccff;">if(myString==@&#8221;1&#8243; &#124;&#124; myString ==@&#8221;2&#8243; &#124;&#124; myString ==@&#8221;3&#8243;)<br />
action = @&#8221;showDifferences&#8221;;</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone Objective-C Adding UITextView upon viewDidLoad]]></title>
<link>http://webbuilders.wordpress.com/2009/11/10/objective-c-adding-uitextview-upon-viewdidload/</link>
<pubDate>Tue, 10 Nov 2009 09:36:17 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/10/objective-c-adding-uitextview-upon-viewdidload/</guid>
<description><![CDATA[This is a simple approach to draw a UITextView, insert content from a text file within Xcode project]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is a simple approach to draw a UITextView, insert content from a text file within Xcode project, disable editing, and customize font style during loading app.</p>
<p><span style="color:#00ccff;">- (void)viewDidLoad {</span></p>
<p><span style="color:#00ccff;"> [super viewDidLoad];<br />
CGRect viewRect = CGRectMake(0.0, 0.0, 320.0, 420.0);<br />
myTextView = [[UITextView alloc] initWithFrame:viewRect];<br />
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);<br />
NSString *documentsDirectory = [paths objectAtIndex:0];<br />
NSString *filename = [documentsDirectory stringByAppendingPathComponent:@"sample.txt"];<br />
NSString *filenameString = [NSString stringWithContentsOfFile:filename];<br />
myTextView.text = filenameString;<br />
myTextView.editable = NO;<br />
myTextView.textAlignment = UITextAlignmentCenter;<br />
UIFont *myFont = [UIFont fontWithName:@"Helvetica" size:10.0];<br />
// add Font color<br />
myTextView.font = myFont;<br />
[self.view addSubview:myTextView];<br />
}</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone Objective-C Concatenate Multiple Strings into a single URL]]></title>
<link>http://webbuilders.wordpress.com/2009/11/10/objective-c-concatenate-multiple-strings-into-a-single-url/</link>
<pubDate>Tue, 10 Nov 2009 09:25:20 +0000</pubDate>
<dc:creator>svwebbuilder</dc:creator>
<guid>http://webbuilders.wordpress.com/2009/11/10/objective-c-concatenate-multiple-strings-into-a-single-url/</guid>
<description><![CDATA[Method 1: // Declare URL parameters NSString *URL = @&#8221;http://www.xyz.com/api?&#8221;; NSString]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Method 1:<br />
<span style="color:#00ccff;">// Declare URL parameters<br />
NSString *URL = @&#8221;http://www.xyz.com/api?&#8221;;<br />
NSString *latitudeURL = @&#8221;latitude=&#8221;;<br />
NSString *longitudeURL = @&#8221;&#38;longitude=&#8221;;<br />
NSString *altitudeURL = @&#8221;&#38;altitude=&#8221;;<br />
// Concatenate all the strings<br />
NSString *entireURL = [NSString stringWithFormat:@"%@%@%@%@%@%@%@", URL, latitudeURL, latitudeString, longitudeURL, longitudeString, altitudeURL, altitudeString];<br />
NSLog(@&#8221;show:%@&#8221;, entireURL);</span></p>
<p>Method 2:</p>
<p><span style="color:#00ccff;">// Shortcut to concatenate all the strings<br />
NSString *apiString = [NSString stringWithFormat:@"http://www.xyz.com/api?latitude=%@&#38;longitude=%@&#38;altitude=%@", latitudeString, longitudeString, altitudeString];<br />
NSLog(@&#8221;show:%@&#8221;, apiString);</span></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
