<?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/"
	>

<channel>
	<title>How to Make iPhone Apps &#187; iPhone Programming</title>
	<atom:link href="http://howtomakeiphoneapps.com/category/iphone-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://howtomakeiphoneapps.com</link>
	<description>Get Started with Cocoa-Touch and iPhone Programming today!</description>
	<lastBuildDate>Fri, 30 Jul 2010 12:27:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>25% Off Our eBook &amp; Workshops &lt; ONLY 2 More Days Left!</title>
		<link>http://howtomakeiphoneapps.com/2010/07/25-off-our-ebook-workshops-only-2-more-days-left/</link>
		<comments>http://howtomakeiphoneapps.com/2010/07/25-off-our-ebook-workshops-only-2-more-days-left/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:22:45 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=2035</guid>
		<description><![CDATA[As you probably know we re-launched our How To Program Online Workshop this week. To give our launch more of a kick I decided to throw in a 25% discount for all purchases this week. So, if you are on the fence about getting your iPhone or iPad development career started, now is the time [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/07/25-off-our-ebook-workshops-only-2-more-days-left/" title="Permanent link to 25% Off Our eBook &#038; Workshops < ONLY 2 More Days Left!"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/coupon1.png" width="232" height="184" alt="Post image for 25% Off Our eBook &#038; Workshops < ONLY 2 More Days Left!" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>As you probably know we re-launched our How To Program Online Workshop this week.  To give our launch more of a kick I decided to throw in a 25% discount for all purchases this week.  So, if you are on the fence about getting your iPhone or iPad development career started, now is the time to go for it!  Use the coupon code GETITNOW when you check out to get your 25% off your entire order.</p>
<h3>NOTE: Today (7/30/2010) is the LAST day to use this coupon code!!!</h3>
<p>Check out the info below to find out about the new workshop..</p>
<h3>&#8230;so let&#8217;s a talk about how I can help you get started right now&#8230;</h3>
<h3>Here Is How To Program in C, Objective-C and Cocoa-Touch</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/02WcfTD0ntQ&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/02WcfTD0ntQ&amp;hl=en_US&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic"><img class="alignright size-medium wp-image-2022" title="DVDCoverSetup" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/DVDCoverSetup-150x130.png" alt="" width="150" height="130" /></a><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic">Click here </a>or the box to the right to access to your online workshop now&#8230;</p>
<p>Each lesson comes packed with comprehensive video, source code and text. When appropriate I include hands-on exercises. Check out the list below to see what is specifically covered in each lesson:</p>
<h3>Module 1 &#8211; Getting Started With iPhone App Development</h3>
<p>- Lesson 1 &#8211; Overview of iPhone OS<br />
- Lesson 2 &#8211; Introduction to Tools: XCode, Interface Builder &amp; iPhone Simulator<br />
- Lesson 3 &#8211; Your First App<br />
- Lesson 4 &#8211; Super-Charge XCode</p>
<h3>Module 2 &#8211; Learn How to Program in C</h3>
<p>- Lesson 1 &#8211; What is Programming?<br />
- Lesson 2 &#8211; C Programming Basics and Specifics<br />
- Lesson 3 &#8211; Functions<br />
- Lesson 4 &#8211; Variables and Arrays<br />
- Lesson 5 &#8211; Program Flow<br />
- Lesson 6 &#8211; Loops<br />
- Lesson 7 &#8211; Complex Data with Struct<br />
- Lesson 8 &#8211; Putting It All Together</p>
<h3>Module 3 &#8211; Master Object Oriented Programming With Objective-C</h3>
<p>- Lesson 1 &#8211; What is Object Oriented Programming?<br />
- Lesson 2 &#8211; Objects<br />
- Lesson 3 &#8211; More Strings, Lists and the For Each Loop<br />
- Lesson 4 &#8211; Memory Management<br />
- Lesson 5 &#8211; Designing Your Own Classes<br />
- Lesson 6 &#8211; Extending Classes With Categories<br />
- Lesson 7 &#8211; Protocols &amp; Key-Value Coding</p>
<h3>Module 4 &#8211; No-BS Cocoa-Touch With iPhone SDK</h3>
<p>- Lesson 1 &#8211; Overview of Cocoa-Touch + Model-View-Controller<br />
- Lesson 2 &#8211; Using Interface Builder (The View)<br />
- Lesson 3 &#8211; Target-Action and the View in Code<br />
- Lesson 4 &#8211; Delegation<br />
- Lesson 5 &#8211; Super-Charging Your View With Interface Builder<br />
- Lesson 6 &#8211; Model &amp; App Architecture</p>
<p><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic"><img class="alignright size-medium wp-image-2022" title="DVDCoverSetup" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/DVDCoverSetup-150x130.png" alt="" width="150" height="130" /></a><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic">Click here </a>or the box to the right to access to your online workshop now</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;bodytext=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;notes=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;t=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;annotation=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;t=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;body=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;title=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F%2025%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;t=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&amp;s=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2F25-off-our-ebook-workshops-only-2-more-days-left%2F&amp;t=25%25%20Off%20Our%20eBook%20%26%20Workshops%20%3C%20ONLY%202%20More%20Days%20Left%21&opener=bm&amp;ei=UTF-8&amp;d=As%20you%20probably%20know%20we%20re-launched%20our%20How%20To%20Program%20Online%20Workshop%20this%20week.%20%20To%20give%20our%20launch%20more%20of%20a%20kick%20I%20decided%20to%20throw%20in%20a%2025%25%20discount%20for%20all%20purchases%20this%20week.%20%20So%2C%20if%20you%20are%20on%20the%20fence%20about%20getting%20your%20iPhone%20or%20iPad%20deve" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/07/25-off-our-ebook-workshops-only-2-more-days-left/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Do I Put Functions In iOS App Code?</title>
		<link>http://howtomakeiphoneapps.com/2010/07/where-do-i-put-functions-in-ios-app-code/</link>
		<comments>http://howtomakeiphoneapps.com/2010/07/where-do-i-put-functions-in-ios-app-code/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 18:00:14 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=2027</guid>
		<description><![CDATA[This is a question that I get often from readers and participants in our online workshops. The problem is usually that a function does not work or is not available for use. CodeProject For example, a reader recently sent me this code in an email: #include &#60;stdio.h&#62; int main (int argc, const char * argv[]) [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/07/where-do-i-put-functions-in-ios-app-code/" title="Permanent link to Where Do I Put Functions In iOS App Code?"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/04/faq-chalkboard.jpeg" width="200" height="132" alt="Post image for Where Do I Put Functions In iOS App Code?" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a question that I get often from readers and participants in our online workshops.  The problem is usually that a function does not work or is not available for use.<br />
<a style="display: none;" rel="tag" href="http://anyurl.com">CodeProject</a><br />
For example, a reader recently sent me this code in an email:</p>
<pre>#include &lt;stdio.h&gt;

int main (int argc, const char * argv[]) {

	return 0;
}

	int getNumber(int thisNum){
	thisNum++;
	return thisNum;

printf("get number:%\n", getNumber(100));

}</pre>
<p>The big problem above is that the reader was trying to code a function from within the main function.  This is not really how it works, you need to make sure to have the function declared on it&#8217;s own (not inside any other function) and the function must be declared BEFORE you use it (more on that in a bit).  So, to make this code work it would need to look more like this:</p>
<pre>#include &lt;stdio.h&gt;

int getNumber(int thisNum){
     thisNum++;

     return thisNum;
}

int main (int argc, const char * argv[]) {

        printf("get number:%\n", getNumber(100));

	return 0;
}</pre>
<p>Note that I also moved the printf statement back into the main function here.  While the above approach works the typical place to put C functions in situations like this is in a different files.</p>
<h3>Header Files And Code Files</h3>
<p>As you can imagine programs that are used with iOS apps are very complex so you will want to start keeping entities like functions and classes in separate files so that you don&#8217;t blow a braincap.  If you have simply C functions like the one above you can put them into normal c files.  You will actually need two files: a header file and a code file.</p>
<p>Code files have all the code that declares the function, here this would be this code:</p>
<pre>int getNumber(int thisNum){
     thisNum++;

     return thisNum;
}</pre>
<p>Header files have what are called forward declaration</p>
<h3>Forward Declarations</h3>
<p>Forward declarations are the very first part of the function declaration and they are used so that we can reference the function even before it is declared in the code file.  The forward declaration for our function would look like this:</p>
<pre>int getNumber(int thisNum);</pre>
<p>Notice that the forward declaration ends in a semi-colon (;).  So, the function is declared first in the forward declaration in the header file and then implemented in the code file.  One more thing, your code file will need to include the header file for this to work.  So you complete header file for this function would look like this:</p>
<pre><strong>#include "functions.h"</strong>
int getNumber(int thisNum){
     thisNum++;

     return thisNum;
}</pre>
<h3>How To Use Your Functions</h3>
<p>Once you have coded your functions over these two files (the .h header file and the .c code file) then you can use your functions anywhere in your program.  All you need to do is include the header file in the top of the file where you want to use the function.  Then you can simply use the function as if the function was coded right in the same file.  Obviously, if you have hundreds of functions then you would need to do this.</p>
<p>NOTE: Functions are available for you to use in iOS programming, but I want to emphasize here that the object oriented approach to programming is the more generally used approach in iOS app.  Objects in object oriented programming can use functions but they usually use something very similar called methods to break up code into smaller chunks.</p>
<h2>PS: Here Is How To Learn More About Programming For iOS</h2>
<p>Last week I released a new online workshop that will show you how to do programming, check out the video below for all the details on this new special product.</p>
<h2>PSS: You have two more days to use the special discount code GETITNOW to get 25% off your online workshop.</h2>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/02WcfTD0ntQ&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/02WcfTD0ntQ&amp;hl=en_US&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic"><img class="alignright size-medium wp-image-2022" title="DVDCoverSetup" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/DVDCoverSetup-150x130.png" alt="" width="150" height="130" /></a><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic">Click here </a>or the box to the right to access to your online workshop now&#8230;</p>
<p>Each lesson comes packed with comprehensive video, source code and text. When appropriate I include hands-on exercises. Check out the list below to see what is specifically covered in each lesson:</p>
<h3>Module 1 &#8211; Getting Started With iPhone App Development</h3>
<p>- Lesson 1 &#8211; Overview of iPhone OS<br />
- Lesson 2 &#8211; Introduction to Tools: XCode, Interface Builder &amp; iPhone Simulator<br />
- Lesson 3 &#8211; Your First App<br />
- Lesson 4 &#8211; Super-Charge XCode</p>
<h3>Module 2 &#8211; Learn How to Program in C</h3>
<p>- Lesson 1 &#8211; What is Programming?<br />
- Lesson 2 &#8211; C Programming Basics and Specifics<br />
- Lesson 3 &#8211; Functions<br />
- Lesson 4 &#8211; Variables and Arrays<br />
- Lesson 5 &#8211; Program Flow<br />
- Lesson 6 &#8211; Loops<br />
- Lesson 7 &#8211; Complex Data with Struct<br />
- Lesson 8 &#8211; Putting It All Together</p>
<h3>Module 3 &#8211; Master Object Oriented Programming With Objective-C</h3>
<p>- Lesson 1 &#8211; What is Object Oriented Programming?<br />
- Lesson 2 &#8211; Objects<br />
- Lesson 3 &#8211; More Strings, Lists and the For Each Loop<br />
- Lesson 4 &#8211; Memory Management<br />
- Lesson 5 &#8211; Designing Your Own Classes<br />
- Lesson 6 &#8211; Extending Classes With Categories<br />
- Lesson 7 &#8211; Protocols &amp; Key-Value Coding</p>
<h3>Module 4 &#8211; No-BS Cocoa-Touch With iPhone SDK</h3>
<p>- Lesson 1 &#8211; Overview of Cocoa-Touch + Model-View-Controller<br />
- Lesson 2 &#8211; Using Interface Builder (The View)<br />
- Lesson 3 &#8211; Target-Action and the View in Code<br />
- Lesson 4 &#8211; Delegation<br />
- Lesson 5 &#8211; Super-Charging Your View With Interface Builder<br />
- Lesson 6 &#8211; Model &amp; App Architecture</p>
<p><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic"><img class="alignright size-medium wp-image-2022" title="DVDCoverSetup" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/DVDCoverSetup-150x130.png" alt="" width="150" height="130" /></a><a href="http://mobileappmastery.com/learntoprogram/?utm_source=blog&amp;utm_medium=inpostad&amp;utm_campaign=traffic">Click here </a>or the box to the right to access to your online workshop now</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;bodytext=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;notes=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;t=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;annotation=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;t=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;body=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;title=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F%20Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;t=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&amp;s=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fwhere-do-i-put-functions-in-ios-app-code%2F&amp;t=Where%20Do%20I%20Put%20Functions%20In%20iOS%20App%20Code%3F&opener=bm&amp;ei=UTF-8&amp;d=This%20is%20a%20question%20that%20I%20get%20often%20from%20readers%20and%20participants%20in%20our%20online%20workshops.%20%20The%20problem%20is%20usually%20that%20a%20function%20does%20not%20work%20or%20is%20not%20available%20for%20use.%0D%0ACodeProject%0D%0AFor%20example%2C%20a%20reader%20recently%20sent%20me%20this%20code%20in%20an%20email%3A%0D" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/07/where-do-i-put-functions-in-ios-app-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Started With iOS Development</title>
		<link>http://howtomakeiphoneapps.com/2010/07/getting-started-with-ios-development/</link>
		<comments>http://howtomakeiphoneapps.com/2010/07/getting-started-with-ios-development/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:48:05 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=2005</guid>
		<description><![CDATA[Do you dream of making magical apps for the iPad or iPhone?  Are you excited about writing software for iOS? iOS? iOS is the new name for the operating system that runs the iPhone and now the iPad.  It really just stands for &#8220;operating system&#8221; which is something that all computers use to get things [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/07/getting-started-with-ios-development/" title="Permanent link to Getting Started With iOS Development"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/AboutToPaintBlue.jpeg" width="300" height="199" alt="Post image for Getting Started With iOS Development" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Do you dream of making magical apps for the iPad or iPhone?  Are you excited about writing software for iOS?</p>
<h3>iOS?</h3>
<p>iOS is the new name for the operating system that runs the iPhone and now the iPad.  It really just stands for &#8220;operating system&#8221; which is something that all computers use to get things done.  The iPhone and iPad use iOS to get things done.</p>
<p>Programmers use iOS to make the apps that we all buy everyday.  It seems like you may need to be a rocket scientist or brain doctor to understand how to make apps but that is just not the case.  You simply need to learn how to give your iOS device instructions in a language that it understands.</p>
<h3>What Is The Easiest Way To Get Started With iOS?</h3>
<p>I&#8217;m really excited to share that I have created a new email course along with a video tutorial series called <em>Getting Started With iOS Development </em>that will show you how to create your first iOS application.  You will also find out exactly what programming languages and technologies that you will need to learn to become a ninja mobile app developer.  And it&#8217;s free!</p>
<h3>What Do You Mean It&#8217;s FREE?</h3>
<p>Yes it&#8217;s free and not only that but you will get a few more goodies that I am super-eager to share.  All you need to do to get this email course and video tutorial series is to stick your name and email address into the two boxes below and click the submit button:</p>
<p><!--Aweber Form--></p>
<form action="http://www.aweber.com/scripts/addlead.pl" method="post">
<input name="meta_web_form_id" type="hidden" value="1529568455" />
<input name="meta_split_id" type="hidden" />
<input name="unit" type="hidden" value="iphoneweeklytip" />
<input id="redirect_037171eeecd14eadb3cbb371e3413aeb" name="redirect" type="hidden" value="http://www.aweber.com/form/thankyou_vo.html" />
<input name="meta_redirect_onlist" type="hidden" />
<input name="meta_adtracking" type="hidden" />
<input name="meta_message" type="hidden" value="1" />
<input name="meta_required" type="hidden" value="from" />
<input name="meta_forward_vars" type="hidden" value="0" /><!--Table for layout--></p>
<table>
<tbody>
<tr>
<td>Name:</td>
<td width="440">
<input name="name" type="text" /></td>
</tr>
<tr>
<td>Email:</td>
<td width="440">
<input name="from" type="text" /></td>
</tr>
<tr>
<td colspan="2" align="center">
<input name="Sign Up" type="submit" /></td>
</tr>
<tr>
<td colspan="2">We are anti-spam &#8211; <a title="Privacy Policy" href="http://howtomakeiphoneapps.com/mailing-lists/privacy-policy/">see privacy policy</a></td>
</tr>
</tbody>
</table>
</form>
<form action="http://www.aweber.com/scripts/addlead.pl" method="post">Once you sign up you will get the first installment of our email app course from Mobile App Mastery as well as the Getting Started With iOS Development.</form>
<h3>More Announcements Coming All Week!</h3>
<p>This upgrade to our newsletter is just the first announcement that I have this week.  The blog here is getting some rad new features and you are about to see some big news coming up!</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development&amp;bodytext=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development&amp;notes=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;t=Getting%20Started%20With%20iOS%20Development" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development&amp;annotation=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Getting%20Started%20With%20iOS%20Development&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Getting%20Started%20With%20iOS%20Development&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;t=Getting%20Started%20With%20iOS%20Development" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development&amp;body=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;title=Getting%20Started%20With%20iOS%20Development" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F%20Getting%20Started%20With%20iOS%20Development" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;t=Getting%20Started%20With%20iOS%20Development&amp;s=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fgetting-started-with-ios-development%2F&amp;t=Getting%20Started%20With%20iOS%20Development&opener=bm&amp;ei=UTF-8&amp;d=Do%20you%20dream%20of%20making%20magical%20apps%20for%20the%20iPad%20or%20iPhone%3F%20%C2%A0Are%20you%20excited%20about%20writing%20software%20for%20iOS%3F%0D%0AiOS%3F%0D%0AiOS%20is%20the%20new%20name%20for%20the%20operating%20system%20that%20runs%20the%20iPhone%20and%20now%20the%20iPad.%20%C2%A0It%20really%20just%20stands%20for%20%22operating%20system%22%20wh" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/07/getting-started-with-ios-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Can I Add Tabs Programmatically To UITabBar?</title>
		<link>http://howtomakeiphoneapps.com/2010/07/how-can-i-add-tabs-programmatically-to-uitabbar/</link>
		<comments>http://howtomakeiphoneapps.com/2010/07/how-can-i-add-tabs-programmatically-to-uitabbar/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 19:04:33 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1973</guid>
		<description><![CDATA[Usually when you want UITabBar in your app you can simply add a UITabBarController to your MainWindow.xib. In fact, XCode already comes with a pretty good template that sets up an app with UITabBar for you right out of the box. This is great, but sometimes you want to be able to have your app [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/07/how-can-i-add-tabs-programmatically-to-uitabbar/" title="Permanent link to How Can I Add Tabs Programmatically To UITabBar?"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/lg_tab.jpg" width="250" height="400" alt="Post image for How Can I Add Tabs Programmatically To UITabBar?" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Usually when you want UITabBar in your app you can simply add a UITabBarController to your MainWindow.xib.  In fact, XCode already comes with a pretty good template that sets up an app with UITabBar for you right out of the box.  This is great, but sometimes you want to be able to have your app dynamically add tabs and the view controllers that go with them.  The only way to do that is to dig into some code.</p>
<h3>UITabBarController Based App</h3>
<p><a style="display:none" href="http://anyurl.com" rel="tag">CodeProject</a></p>
<p>To demonstrate how to add tabs to your app in code I am going to use the Tab Bar Application template in XCode to create a simple tab bar based app.  My app will only start with one screen (and corresponding tab) with a button on it.  When you touch the button the app will magically add a four new tabs and screens to the app.  It will look something like this:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/OneTabToManyTabs.png"</img></p>
<h3>Set Up Your XCode Project</h3>
<p>The first thing that you need to do is to create a new iOS app.  Open up XCode and choose &#8220;File&#8221; > &#8220;New Project&#8230;&#8221; and select &#8220;Tab Bar Application&#8221;</p>
<p>You will get a template UITabBar application that comes pre-loaded with two tabs.  Both of these tabs have UIViews associated with them but we do not want to use them for our project.  Click on the MainWindow.xib file under the resources folder to open up the main app window in Interface Builder.</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen1.png"</img></p>
<p>In Interface Builder you will see the MainWindow xib file that should look something like this:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen2.png"</img></p>
<p>Use the button circled in the picture to change how the xib is displayed.  This makes it easier to deal with the UITabBarController.  Your xib file should now look like this:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen3.png"</img></p>
<p>Highlight the two view controllers that XCode included here for us and delete them both.  Now we are ready to rock.</p>
<h3>Add New UIViewController To Your XCode Project</h3>
<p>Ok, so now let&#8217;s add a new UIViewController called AddManyViewController to the XCode Project.  This UIViewController should have a UIButton on it with its IBOutlet and IBAction already hooked up.  Here is what I did:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen4.png"</img></p>
<h3>AddManyViewController Header (Interface) File</h3>
<pre>
#import &lt;UIKit/UIKit.h&gt;

@interface AddManyViewController : UIViewController {
	UIButton *button;
}

@property(nonatomic, retain) IBOutlet UIButton *button;

-(IBAction)addMoreTabsToApp;

@end
</pre>
<h3>AddManyViewController Implementation File</h3>
<pre>
#import "AddManyViewController.h"

@implementation AddManyViewController
@synthesize button;

-(IBAction)addMoreTabsToApp{

}

@end
</pre>
<h3>Add AddManyViewController To Tab</h3>
<p>Since we are going to want this screen to open up when the app starts lets make sure to put AddManyViewController into our tab bar.  We can just use Interface Builder for this part.  Go back to your MainWindow.xib file in Interface Builder, select your UITabBarController and then select the first tab on the attributes inspector.</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen5.png"</img></p>
<p>Click the plus sign in under the view controllers section to the AddManyViewController view controller to the tab bar.  You will still need to configure this view controller more by specifying the nib (xib) file and the class that is acting as a controller.  Select the node that appears under the tab bar to do this:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen6.png"</img></p>
<p>Change the nib name to AddManyViewController.  Now select the last tab on the attributes inspector to specify the controller class.</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen7.png"</img></p>
<p>Ok, save your Interface Builder file and build and run your XCode project.  You should see this pop up in the simulator:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/xcodescreen8.png"</img></p>
<p>You should be able to click the button but nothing will happen yet.</p>
<h3>Add Code To Dynamically Add Tabs</h3>
<p>Now we are ready to go over to the meat of this article.  When we press the button we want to dynamically add a bunch of tabs to the iPhone.  These will be added in code and they will come into the space with a smooth animation.</p>
<p>Head back over to the IBAction that we started coding earlier on.  This will be located in the AddManyViewController.m file.  We will be starting out with this code:</p>
<pre>
#import "AddManyViewController.h"

@implementation AddManyViewController
@synthesize button;

-(IBAction)addMoreTabsToApp{

}

@end
</pre>
<h4>Create An NSMutableArray</h4>
<p>This array will hold the view controllers that will go into the UITabBar.  While we are here we may as well declare an object variable for our view controllers (I just called it vc below).</p>
<pre>
#import "AddManyViewController.h"

@implementation AddManyViewController
@synthesize button;

-(IBAction)addMoreTabsToApp{
	NSMutableArray *listOfViewControllers = [[NSMutableArray alloc] init];
	UIViewController *vc;
}

@end
</pre>
<h4>Create UIViewControllers And Add Them To The Array</h4>
<p>Now what we need to do is to create a few UIViewControllers and add them to the array.  I am just using generic view controllers here but you could just as easily use your own subclassed UIViewController for this.</p>
<pre>
#import "AddManyViewController.h"

@implementation AddManyViewController
@synthesize button;

-(IBAction)addMoreTabsToApp{
	NSMutableArray *listOfViewControllers = [[NSMutableArray alloc] init];
	UIViewController *vc;

	vc = [[UIViewController alloc] init];
	vc.title = @"A";
	[listOfViewControllers addObject:vc];
	[vc release];
	vc = [[UIViewController alloc] init];
	vc.title = @"B";
	[listOfViewControllers addObject:vc];
	[vc release];
	vc = [[UIViewController alloc] init];
	vc.title = @"C";
	[listOfViewControllers addObject:vc];
	[vc release];
}

@end
</pre>
<h4>Adding The Tabs</h4>
<p>Here is the fun part &#8211; since we have this array all we need to do is to send a message with the array as a parameter to the UITabBar to add these view controllers to the app.  They will be animated as well which adds a nice touch.</p>
<p>What we are going to do is send the setViewControllers:animated message along with our array to the tab bar.  Luckily, it is easy for us to get access to the tab bar from any view controller since a reference to the tab bar is included as a UIViewController property.</p>
<pre>
#import "AddManyViewController.h"

@implementation AddManyViewController
@synthesize button;

-(IBAction)addMoreTabsToApp{
	NSMutableArray *listOfViewControllers = [[NSMutableArray alloc] init];
	UIViewController *vc;

	vc = [[UIViewController alloc] init];
	vc.title = @"A";
	[listOfViewControllers addObject:vc];
	[vc release];
	vc = [[UIViewController alloc] init];
	vc.title = @"B";
	[listOfViewControllers addObject:vc];
	[vc release];
	vc = [[UIViewController alloc] init];
	vc.title = @"C";
	[listOfViewControllers addObject:vc];
	[vc release];

	[self.tabBarController setViewControllers:listOfViewControllers
	                                 animated:YES];
}

@end
</pre>
<h4>Test The App</h4>
<p>At this point you should be able to build and run your app and test your work.  What you should expect to see is something like this:</p>
<p align="center"><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/iphonesim1.png"</img></p>
<p>Take note of the tabs at the bottom of the screen.  Our one AddMore tab has been completely replaced with the A, B and C tabs (and view controllers).  Pretty Nifty!</p>
<h3>What Situations Could You See Using Dynamically Generated Tabs In Your iPhone or iPad App?</h3>
<p>Let us know in the comments below!!!</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;bodytext=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;notes=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;t=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;annotation=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;t=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;body=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;title=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F%20How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;t=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&amp;s=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fhow-can-i-add-tabs-programmatically-to-uitabbar%2F&amp;t=How%20Can%20I%20Add%20Tabs%20Programmatically%20To%20UITabBar%3F&opener=bm&amp;ei=UTF-8&amp;d=Usually%20when%20you%20want%20UITabBar%20in%20your%20app%20you%20can%20simply%20add%20a%20UITabBarController%20to%20your%20MainWindow.xib.%20%20In%20fact%2C%20XCode%20already%20comes%20with%20a%20pretty%20good%20template%20that%20sets%20up%20an%20app%20with%20UITabBar%20for%20you%20right%20out%20of%20the%20box.%20%20This%20is%20great%2C%20but%20s" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/07/how-can-i-add-tabs-programmatically-to-uitabbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Apps, Simplicity is the Key</title>
		<link>http://howtomakeiphoneapps.com/2010/07/iphone-apps-simplicity-is-the-key/</link>
		<comments>http://howtomakeiphoneapps.com/2010/07/iphone-apps-simplicity-is-the-key/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 18:00:58 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1953</guid>
		<description><![CDATA[Let me ask you something. How many applications do you have installed on your desktop that you actually use on a regular basis? Let&#8217;s see. I&#8217;m on a Windows 7 notebook, so I have Microsoft Office, Pidgin (for all of my instant messaging), Adobe Photoshop, Skype, PSpad, FileZilla and iTunes (only because I have an [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/07/iphone-apps-simplicity-is-the-key/" title="Permanent link to iPhone Apps, Simplicity is the Key"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/07/zengarden11.jpg" width="250" height="166" alt="Post image for iPhone Apps, Simplicity is the Key" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Let me ask you something. How many applications do you have installed on your desktop that you actually use on a regular basis?</p>
<p>Let&#8217;s see. I&#8217;m on a Windows 7 notebook, so I have Microsoft Office, Pidgin (for all of my instant messaging), Adobe Photoshop, Skype, PSpad, FileZilla and iTunes (only because I have an iPhone).</p>
<p>If Google Docs worked better, I would eliminate Microsoft Office from my desktop and from my life. So, I have seven apps installed that I&#8217;ve actually used in the last three months. For most people, this list is probably even smaller.</p>
<p>I would use fewer desktop apps if I could. Desktop apps are problematic for a number of reasons. First, they save data to my local machine, which I can eventually lose (hard drive crashes, misplacement, etc).</p>
<p>Second, this makes me dependent on a physical device, which I don&#8217;t like at all. I prefer to have all of my information freely available wherever I may be.</p>
<p>Third, over the years desktop apps have suffered from what is commonly referred to as &#8220;feature creep&#8221;. For example, Microsoft Word now contains hundreds of features that people just don&#8217;t use, making it a more complex product overall.</p>
<p>According to Jensen Harris, Group Program Manager of the Microsoft Office User Experience Team published a list of the most used features in Microsoft Word.</p>
<ol>
<li>Paste (11%)</li>
<li>Save (5.5%)</li>
<li>Copy</li>
<li>Undo</li>
<li>Bold</li>
</ol>
<p>According to the study, these five commands account for 32% of all of the command usage in Microsoft Word 2003.</p>
<p>The explosion in iPhone applications can&#8217;t be ignored (150,000 plus at the time of this writing). If you use an iPhone, there&#8217;s a good chance you have quite a few iPhone apps installed that you use on a regular basis.</p>
<p>Why? Because the majority of iPhone apps are designed to do one thing, and do that one thing very well. For example, the iPhone texting application, it gives you the ability to send and receive text messages in a very simple and straightforward way. The iPhone Facebook app gives you the ability to quickly view the status of your friends and update your status. You can even snap photos and instantly upload them.</p>
<p>There are iPhone apps for setting alarms, getting the current weather, listening to Pandora, Slacker. Apps for monitoring eBay, booking a hotel room, checking airline ticket prices. I find myself using the iPhone apps more than I use my PC and a web browser. Why? It&#8217;s the simplicity of these applications. They typically don&#8217;t suffer from &#8220;feature creep&#8221;.</p>
<p>Is my viewpoint is slanted, because I work on a Windows PC instead of a Mac? I&#8217;m not sure. Most likely not. I will bet that &#8220;feature creep&#8221; eventually finds its way into popular iPhone applications as well. As a software architect or designer, it&#8217;s a natural process to want to continue to add more features to your product. Competitors are adding more features and as a software designer, you must &#8220;keep up&#8221;. I&#8217;ve done it and I see startups doing it now with their iPhone efforts.</p>
<p>This process devalues applications. We need to strive to simplify applications and stop adding more features for the sake of adding features, attempting to please a few to the detriment of the many.</p>
<p>Instead, if you&#8217;re a software developer, architect, creator, etc., follow in the footsteps of the most recent simplified engineering successes. Successes such as Twitter, Foursquare, Yelp and the like.</p>
<p>Simplicity is the ultimate sophistication. ~Leonardo DaVinci</p>
<p>About Todd<br />
Todd Fearn is the owner of an internet marketing company and also CEO of a wall street technology consulting firm. Todd has created a number of unique software and internet startups. Todd&#8217;s blog is at <a href="http://www.toddfearn.com" target="_new">http://www.toddfearn.com</a></p>
<p>Article Source: <a href="http://ezinearticles.com/?expert=Todd_Fearn" target="_new">http://EzineArticles.com/?expert=Todd_Fearn</a><br />
<a href="http://ezinearticles.com/?iPhone-Apps,-Simplicity-is-the-Key&amp;id=4136666" target="_new">http://EzineArticles.com/?iPhone-Apps,-Simplicity-is-the-Key&amp;id=4136666</a></p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;bodytext=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;notes=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;t=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;annotation=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;t=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;body=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;title=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F%20iPhone%20Apps%2C%20Simplicity%20is%20the%20Key" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;t=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&amp;s=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F07%2Fiphone-apps-simplicity-is-the-key%2F&amp;t=iPhone%20Apps%2C%20Simplicity%20is%20the%20Key&opener=bm&amp;ei=UTF-8&amp;d=Let%20me%20ask%20you%20something.%20How%20many%20applications%20do%20you%20have%20installed%20on%20your%20desktop%20that%20you%20actually%20use%20on%20a%20regular%20basis%3F%0D%0A%0D%0ALet%27s%20see.%20I%27m%20on%20a%20Windows%207%20notebook%2C%20so%20I%20have%20Microsoft%20Office%2C%20Pidgin%20%28for%20all%20of%20my%20instant%20messaging%29%2C%20Adobe%20Pho" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/07/iphone-apps-simplicity-is-the-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Super-Charge iOS Debugging With Static Analysis &amp; Clang!</title>
		<link>http://howtomakeiphoneapps.com/2010/06/super-charge-ios-debugging-with-static-analysis-clang/</link>
		<comments>http://howtomakeiphoneapps.com/2010/06/super-charge-ios-debugging-with-static-analysis-clang/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 14:27:40 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1889</guid>
		<description><![CDATA[Tired of peaky memory leaks and random crashes in your apps? Trouble finding out where exactly the errors are coming from? Me too! That is why I am so excited to show you a real easy way to get help from XCode. Static Analysis With XCode CodeProject Clang is an open source project that is [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/06/super-charge-ios-debugging-with-static-analysis-clang/" title="Permanent link to Super-Charge iOS Debugging With Static Analysis &#038; Clang!"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/06/debugpic.jpeg" width="155" height="147" alt="Post image for Super-Charge iOS Debugging With Static Analysis &#038; Clang!" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Tired of peaky memory leaks and random crashes in your apps?  Trouble finding out where exactly the errors are coming from?  Me too!  That is why I am so excited to show you a real easy way to get help from XCode.</p>
<h3>Static Analysis With XCode</h3>
<p><a style="display:none" href="http://anyurl.com" rel="tag">CodeProject</a></p>
<p><a href="http://clang.llvm.org/" title=""clang" C Language Family Frontend for LLVM">Clang</a> is an open source project that is meant to help programmers identify problems in code.  This open source project has been integrated into the latest versions of XCode so that Apple developers can use this to help debug their Mac, iPhone, iPad and iOS applications.</p>
<p>This idea of static analysis goes way beyond what most people are used to when it comes to debugging software.  XCode has a much deeper understanding of your code &#8211; the static analyzer will travel down each possible path and identify logical errors like unreleased memory (a vexing problem for iOS developers) and dead stores (areas of code that are never read usually indicating a serious logical error).</p>
<h3>How To Use XCode&#8217;s Static Analysis Feature (Clang)</h3>
<p>Using this feature in XCode is so easy that I just stumbled across it one day when I was facilitating one of my intensive three day iPhone Development seminars.  Because someone asked I tried out the &#8220;Build and Analyze&#8221; option and XCode instantly pointed out the memory leak I was trying to demonstrate.</p>
<p>So here is how you do it: simply open the project that you want to analyze and go to XCode, Build and then Build &#038; Analyze:</p>
<p><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/06/clangdebugging.png"</img></p>
<p>Now build your project and if you have any logical errors you will see them highlighted with blue:</p>
<p><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/06/clangdebugging2.png"</img></p>
<p>Even cooler if you click on the blue icon that appears you will get more information visually if the form of blue arrows and details about what specifically the issues are:</p>
<p><img src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/06/clangdebugging3.png"</img></p>
<h3>Have You Used Static Analysis In Your Apps Yet?</h3>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;bodytext=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;notes=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;t=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;annotation=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;t=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;body=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;title=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F%20Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;t=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&amp;s=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F06%2Fsuper-charge-ios-debugging-with-static-analysis-clang%2F&amp;t=Super-Charge%20iOS%20Debugging%20With%20Static%20Analysis%20%26%20Clang%21&opener=bm&amp;ei=UTF-8&amp;d=Tired%20of%20peaky%20memory%20leaks%20and%20random%20crashes%20in%20your%20apps%3F%20%20Trouble%20finding%20out%20where%20exactly%20the%20errors%20are%20coming%20from%3F%20%20Me%20too%21%20%20That%20is%20why%20I%20am%20so%20excited%20to%20show%20you%20a%20real%20easy%20way%20to%20get%20help%20from%20XCode.%0D%0A%0D%0AStatic%20Analysis%20With%20XCode%0D%0A%0D%0ACod" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/06/super-charge-ios-debugging-with-static-analysis-clang/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top 5 Must Know Variable Types For iPad (&amp; iPhone) Programming</title>
		<link>http://howtomakeiphoneapps.com/2010/05/top-5-must-know-variable-types-for-ipad-iphone-programming/</link>
		<comments>http://howtomakeiphoneapps.com/2010/05/top-5-must-know-variable-types-for-ipad-iphone-programming/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:00:07 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1877</guid>
		<description><![CDATA[Last week I was working on my upcoming book with my new publisher and I was writing a chapter on variable types. Variables in Objective-C confused me at first because there are a few options (that follow different rules) that you have available to you. So, I thought it could be helpful to new programmers [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/05/top-5-must-know-variable-types-for-ipad-iphone-programming/" title="Permanent link to Top 5 Must Know Variable Types For iPad (&#038; iPhone) Programming"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/05/Business-Guys-Programming.jpg" width="250" height="166" alt="Post image for Top 5 Must Know Variable Types For iPad (&#038; iPhone) Programming" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Last week I was working on my upcoming book with my new publisher and I was writing a chapter on variable types.  Variables in Objective-C confused me at first because there are a few options (that follow different rules) that you have available to you.  So, I thought it could be helpful to new programmers to get to know the 5 most common variable types used in iPhone and iPad development.</p>
<p><a style="display:none" href="http://anyurl.com" rel="tag">CodeProject</a></p>
<h3>int</h3>
<p>Integers are whole numbers (numbers without decimal places) declared with the keyword int.  These types are used frequently in Cocoa-Touch classes like NSArray to report the number of elements in an array.  Using int (as well as other number types below) is often simpler than trying to use NSNumber in many situations when you must work with numbers.  Here is how you use an integer:</p>
<pre>
int i;
i = 5;
NSLog(@"i = %i", i);
</pre>
<h3>float (and double)</h3>
<p>When you need to use numbers with decimal places you must use the float (or double below) primitive type.  Float types are used to represent numbers like 12.3456.  If you plan on doing many numerical calculations you may need to use this type.  Here is how you use float:</p>
<pre>
float f;
f = 12.78;
NSLog(@"f = %f", f);
</pre>
<p>Like float above, double types are used to represent numbers with decimal places.  For the most part you will use float and double interchangeably in typical iPhone apps but you will probably see both used:</p>
<pre>
double d;
d = 1.99;
NSLog(@"d = %f", d);
</pre>
<h3>BOOL</h3>
<p>BOOL represents a yes or no, true or false or off and on condition.  In Objective-C we use YES or NO (like an answer to a question) to represent on or off, true or false or 1 or 0 respectively.  In the background BOOL acts like an int type so you must use the %i to test for a BOOL type&#8217;s value in NSLog.  Here is how it works:</p>
<pre>
BOOL answer;
answer = YES;
NSLog(@"The answer is %i", answer);
</pre>
<h3>NSObject</h3>
<p>The types discussed above are all what are called primitive types which are basic data types that are simple to use.  But, iPhone OS requires object oriented features so we must also be able to declare and use object variable as well.  Now these will be a bit more complicated since we need to allocate memory and use a sort of pointer variable.  Luckily for us, the pattern is usually the same as what we are about to do for NSObject since most classes in Objective-C are derived from NSObject:</p>
<pre>
NSObject *object;
object = [[NSObject alloc] init];
NSLog(@"object = %@", object);
[object release];
</pre>
<h3>id</h3>
<p>Sometimes you know that you will be working with an object but you are not sure what that object will be when the code executes.  These situations call for the id variable which you can use as a sort of placeholder for any object.  id is used often in the Cocoa-Touch frameworks and the use of id is one of the things that contributes to the powerful flexibility of the Objective-C programming language.  Here is how you would use id along with the NSObject type created above:</p>
<pre>
id someObject;
someObject = object;
NSLog(@"some object = %@", someObject);
</pre>
<p>NOTE: be careful is you are following along in the code to wait to send the release message to object before using the id example.</p>
<h3>What Other Types Do You Find In iPhone OS?</h3>
<p>Let us know other major types that you run into over and over again in the comments below!</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;bodytext=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;notes=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;t=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;annotation=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;t=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;body=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;title=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F%20Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;t=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&amp;s=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Ftop-5-must-know-variable-types-for-ipad-iphone-programming%2F&amp;t=Top%205%20Must%20Know%20Variable%20Types%20For%20iPad%20%28%26%20iPhone%29%20Programming&opener=bm&amp;ei=UTF-8&amp;d=Last%20week%20I%20was%20working%20on%20my%20upcoming%20book%20with%20my%20new%20publisher%20and%20I%20was%20writing%20a%20chapter%20on%20variable%20types.%20%20Variables%20in%20Objective-C%20confused%20me%20at%20first%20because%20there%20are%20a%20few%20options%20%28that%20follow%20different%20rules%29%20that%20you%20have%20available%20to%20y" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/05/top-5-must-know-variable-types-for-ipad-iphone-programming/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To Uniquely Identify Your User&#8217;s iPhone, iPad or iPod With UIDevice</title>
		<link>http://howtomakeiphoneapps.com/2010/05/how-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice/</link>
		<comments>http://howtomakeiphoneapps.com/2010/05/how-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice/#comments</comments>
		<pubDate>Tue, 18 May 2010 18:00:58 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1865</guid>
		<description><![CDATA[Have you ever wanted a way to uniquely identify your user&#8217;s device? This is something that comes in handy when you are trying to implement a data syncing scheme or if you want to provide unique web based content to your user. If this sounds like something you want to do read on to find [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/05/how-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice/" title="Permanent link to How To Uniquely Identify Your User&#8217;s iPhone, iPad or iPod With UIDevice"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/05/barcode-smaller.jpeg" width="250" height="188" alt="Post image for How To Uniquely Identify Your User&#8217;s iPhone, iPad or iPod With UIDevice" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>Have you ever wanted a way to uniquely identify your user&#8217;s device?  This is something that comes in handy when you are trying to implement a data syncing scheme or if you want to provide unique web based content to your user.  If this sounds like something you want to do read on to find out how.</p>
<h3>Get A Reference To The Current Device</h3>
<p>UIDevice is a class that stores information about the physical device that is running your app.  You use UIDevice to get important information by using the currentDevice function.  This is return a UIDevice object filled with information about the device that is running.  Here is how to get this reference:</p>
<p><a style="display:none" href="http://anyurl.com" rel="tag">CodeProject</a></p>
<pre>
UIDevice *device = [UIDevice currentDevice];
</pre>
<h3>Here Is What UIDevice Will Tell You</h3>
<p>UIDevice objects will store more information that a simple unique identifier.  You may use this object to get all kinds of information that will come in handy in this world of multiple devices.  Here is what you get:</p>
<p><l>
<li>name &#8211; what the user named the device</li>
<li>model &#8211; iPhone, iPod or iPad</li>
<li>systemName &#8211; pretty much &#8220;iPhone OS&#8221;</li>
<li>systemVersion &#8211; tells you what iPhone OS version the system is running</li>
<li>orientation &#8211; what direction the device is currently facing</li>
<li>uniqueIdentifier &#8211; a string unique to each device based on information from the hardware itself</li>
<p>	</l></p>
<h3>uniqueIdentifier Can Be Pretty Useful</h3>
<p>You retrieve all of this information in the same way by accessing the UIDevice object properties.  Here is how to get the unique identifier from the device object we referenced above:</p>
<pre>
NSString *deviceID = device.uniqueIdentifier;
</pre>
<p>And of course you may use this string in the normal ways:</p>
<pre>
NSLog(@"%@", deviceID);
</pre>
<p>You will get something that looks a bit like this:</p>
<p>XXX70A50-ER31-X3X3-BDB2-3ED40EKIUN4D</p>
<h3>Why Do It?</h3>
<p>Of course the why is up to you.  Something that I have thought about is the situation where I want to be able to store user&#8217;s data for syncing purposes.  You may also want to have your users share data or content with other apps, websites and so on.  A simple way to start implementing this functionality could be to use this string to create a folder (or database primary key) to store your user&#8217;s data.  Of course, you will need to do a bit more work on top of this as well.</p>
<p>What do you think &#8211; useful trick?</p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;bodytext=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;notes=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;t=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;annotation=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;t=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;body=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;title=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F%20How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;t=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&amp;s=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice%2F&amp;t=How%20To%20Uniquely%20Identify%20Your%20User%27s%20iPhone%2C%20iPad%20or%20iPod%20With%20UIDevice&opener=bm&amp;ei=UTF-8&amp;d=Have%20you%20ever%20wanted%20a%20way%20to%20uniquely%20identify%20your%20user%27s%20device%3F%20%20This%20is%20something%20that%20comes%20in%20handy%20when%20you%20are%20trying%20to%20implement%20a%20data%20syncing%20scheme%20or%20if%20you%20want%20to%20provide%20unique%20web%20based%20content%20to%20your%20user.%20%20If%20this%20sounds%20like%20so" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/05/how-to-uniquely-identify-your-users-iphone-ipad-or-ipod-with-uidevice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use The iPhone OS UITableView (Video)</title>
		<link>http://howtomakeiphoneapps.com/2010/05/how-to-use-the-iphone-os-uitableview-video/</link>
		<comments>http://howtomakeiphoneapps.com/2010/05/how-to-use-the-iphone-os-uitableview-video/#comments</comments>
		<pubDate>Tue, 11 May 2010 16:50:14 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1852</guid>
		<description><![CDATA[CodeProject You see UITableView in all sorts of utility iPhone applications. It is used to display data, lists of items and even to format objects on the touch display. UITableView is one of the things that you can learn that will bring you a ton of leverage in your iPhone app development projects. Today I [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/05/how-to-use-the-iphone-os-uitableview-video/" title="Permanent link to How To Use The iPhone OS UITableView (Video)"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/05/IMG0124_11.png" width="300" height="258" alt="Post image for How To Use The iPhone OS UITableView (Video)" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p><a style="display:none" href="http://anyurl.com" rel="tag">CodeProject</a></p>
<p>You see UITableView in all sorts of utility iPhone applications.  It is used to display data, lists of items and even to format objects on the touch display.   UITableView is one of the things that you can learn that will bring you a ton of leverage in your iPhone app development projects.  Today I am going to show you the basics (scroll down to see the video) of using UITableView.</p>
<h3>UITableView in iPhone &#038; iPad Programming</h3>
<p>UITableView uses the delegation pattern that is very common through iPhone SDK.  Generally, the idea is that you will need an object to act of behalf of your UITableView; we will call this object a delegate.  When the system needs to know something, like how many rows are in the table, it will simply &#8220;ask&#8221; the delegate using a specified callback or delegate method.</p>
<p>Delegation is a really useful skill to master and it is used throughout iPhone development.  If you need help with delegation and other iPhone SDK design patterns <a href="http://howtomakeiphoneapps.com/toolbox/" title="Toolbox">check out these resources that will help you</a>.  You may also want <a href="http://howtomakeiphoneapps.com/tutorials/" title="Tutorials">to check out the tutorial section on this website</a>.</p>
<h3>iPhone SDK 3.2 Must Be Installed</h3>
<p>You will need to have iPhone SDK 3.2 installed.  Also, before we start make sure to have created a window-based iPhone application.</p>
<h3>Step By Step</h3>
<p><l>
<li>Create Window-based iPhone application</li>
<li>Add New UITableViewController Subclass</li>
<li>Implement numberOfSectionsInTableView</li>
<li>Implement numberOfRowsInSection</li>
<li>cellForRowAtIndexPath</li>
<li>Import UITableViewController Subclass into your app delegate</li>
<li>Create an instance of your UITableViewController Subclass</li>
<li>Add your UITableViewController Subclass object to the UIWindow</li>
<li>Build and Go</li>
<p>	</l></p>
<h3>Building UITableView Video</h3>
<p><video id = "media" controls="controls"><br />
	<source src="http://d2bhmtpcpvp7li.cloudfront.net/0124 - UITableView/0124 - UITableView - Computer.m4v"><br />
	<source src="http://d2bhmtpcpvp7li.cloudfront.net/0124 - UITableView/0124 - UITableView - iPhone (Cellular).3gp"><br />
	<source src="http://d2bhmtpcpvp7li.cloudfront.net/0124 - UITableView/0124 - UITableView - iPhone.m4v"><br />
	<source src="http://d2bhmtpcpvp7li.cloudfront.net/0124 - UITableView/0124 - UITableView.mov"><br />
</video></p>
<p>Having trouble seeing the video?  <a href="http://d2bhmtpcpvp7li.cloudfront.net/0124 - UITableView/media/0124UITableViewFlash.mp4">Click here to download the mp4 file</a> to your desktop to see the video in your favorite player.</p>
<h3>UITableView Source Code</h3>
<pre>
#import "TableViewOne.h"

@implementation TableViewOne

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    // Return the number of sections.
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    // Return the number of rows in the section.
    return 5;
}

// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    static NSString *CellIdentifier = @"Cell";

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    }

    cell.textLabel.text = [NSString stringWithFormat:@"%i", indexPath.row];

    return cell;
}

@end
</pre>
<h3>Could You Use UITableView In Your App?</h3>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;bodytext=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;notes=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;t=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;annotation=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;t=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;body=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;title=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F%20How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;t=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&amp;s=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fhow-to-use-the-iphone-os-uitableview-video%2F&amp;t=How%20To%20Use%20The%20iPhone%20OS%20UITableView%20%28Video%29&opener=bm&amp;ei=UTF-8&amp;d=CodeProject%0D%0A%0D%0AYou%20see%20UITableView%20in%20all%20sorts%20of%20utility%20iPhone%20applications.%20%20It%20is%20used%20to%20display%20data%2C%20lists%20of%20items%20and%20even%20to%20format%20objects%20on%20the%20touch%20display.%20%20%20UITableView%20is%20one%20of%20the%20things%20that%20you%20can%20learn%20that%20will%20bring%20you%20a%20t" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/05/how-to-use-the-iphone-os-uitableview-video/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New iPhone &amp; iPad Programming Tutorials</title>
		<link>http://howtomakeiphoneapps.com/2010/05/new-iphone-ipad-programming-tutorials/</link>
		<comments>http://howtomakeiphoneapps.com/2010/05/new-iphone-ipad-programming-tutorials/#comments</comments>
		<pubDate>Tue, 04 May 2010 18:05:01 +0000</pubDate>
		<dc:creator>mattjdrake</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://howtomakeiphoneapps.com/?p=1843</guid>
		<description><![CDATA[This past week I made some tweaks to this website. You may notice some new visual effects and more organized content. Nothing major but I did want to highlight some of the directions that I have been taking on this website. Here is the low-down H.264 Video Many people have mentioned that it is ironic [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://howtomakeiphoneapps.com/2010/05/new-iphone-ipad-programming-tutorials/" title="Permanent link to New iPhone &#038; iPad Programming Tutorials"><img class="post_image alignright remove_bottom_margin" src="http://howtomakeiphoneapps.com/wp-content/uploads/2010/04/old-mix.jpeg" width="150" height="200" alt="Post image for New iPhone &#038; iPad Programming Tutorials" /></a>
</p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;source=MattjDrake&amp;style=normal&amp;service=bit.ly&amp;hashtags=%23iphonedev" height="61" width="50" /><br />
			</a>
		</div>
<p>This past week I made some tweaks to this website.  You may notice some new visual effects and more organized content.  Nothing major but I did want to highlight some of the directions that I have been taking on this website.  Here is the low-down</p>
<h3>H.264 Video</h3>
<p>Many people have mentioned that it is ironic that I some of my screen casts are in Flash.  They are right, streaming video is a vexing problem and Flash works great for everything (but not of course the iPhone).  I have started experimenting with new ways to stream video that you can use from the iPad, iPhone as well as your Mac.</p>
<p>For an example, <a href="http://howtomakeiphoneapps.com/hello-world-iphone-app-with-uiactionsheet/">check out the new Hello World Tutorial</a> that I create last week.  This is a work in progress but I know to have a process in place soon and eventually get all my video up to this new spec.  My feeling is that with the iPad now we can do some serious content distribution using iPhone OS.</p>
<p>At some point in the future I will be discussing the technical details behind this new procedure I am following.</p>
<h3>Live Events/Tutorials Tab Added</h3>
<p>Some of you may know that I have started doing live events like iPhone Boot Camp recently.  Now I am putting dates where I will be doing these training in this tab for people who are interested.  I will also be adding conferences or any other events where Mobile App Mastery will have a presence.</p>
<p>Tutorials are something I have wanted to add to the site for a while.  They have always been here but never featured in a prominent way.</p>
<p>Most of the other changes simply are adding some visual flair: I updated the CSS and change the header a bit as you can see.  What do you think?</p>
<p>Oh Yeah, Here Are the iPhone Programming Tutorials:</p>
<p><a href="http://howtomakeiphoneapps.com/tutorials/">Main Tutorial Page</a></p>
<p><a href="http://howtomakeiphoneapps.com/iphone-programming-tutorial/">iPhone SDK Tutorial</a></p>
<p><a href="http://howtomakeiphoneapps.com/hello-world-iphone-app-with-uiactionsheet/">Hello World iPhone App With UIActionSheet Tutorial</a></p>
<p><a href="http://howtomakeiphoneapps.com/objective-c-tutorial/">Objective-C Tutorial</a></p>



Please share this if you like it!


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;bodytext=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="Digg"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;notes=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="del.icio.us"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;t=New%20iPhone%20%26%20iPad%20Programming%20Tutorials" title="Facebook"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials" title="Mixx"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;annotation=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="Google Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;body=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F" title="email"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F" title="FriendFeed"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;source=How+to+Make+iPhone+Apps+Get+Started+with+Cocoa-Touch+and+iPhone+Programming+today%21&amp;summary=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="LinkedIn"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;t=New%20iPhone%20%26%20iPad%20Programming%20Tutorials" title="MySpace"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;body=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="Ping.fm"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;title=New%20iPhone%20%26%20iPad%20Programming%20Tutorials" title="StumbleUpon"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F%20New%20iPhone%20%26%20iPad%20Programming%20Tutorials" title="Suggest to Techmeme via Twitter"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F" title="Technorati"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;t=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&amp;s=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="Tumblr"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fhowtomakeiphoneapps.com%2F2010%2F05%2Fnew-iphone-ipad-programming-tutorials%2F&amp;t=New%20iPhone%20%26%20iPad%20Programming%20Tutorials&opener=bm&amp;ei=UTF-8&amp;d=This%20past%20week%20I%20made%20some%20tweaks%20to%20this%20website.%20%20You%20may%20notice%20some%20new%20visual%20effects%20and%20more%20organized%20content.%20%20Nothing%20major%20but%20I%20did%20want%20to%20highlight%20some%20of%20the%20directions%20that%20I%20have%20been%20taking%20on%20this%20website.%20%20Here%20is%20the%20low-down%0D%0AH" title="Yahoo! Bookmarks"><img src="http://howtomakeiphoneapps.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://howtomakeiphoneapps.com/2010/05/new-iphone-ipad-programming-tutorials/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 5.418 seconds -->
