<?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>iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News &#187; development</title>
	<atom:link href="http://maniacdev.com/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://maniacdev.com</link>
	<description>ManiacDev.Com</description>
	<lastBuildDate>Sat, 31 Jul 2010 07:43:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Incredible iPhone Game Programming Tutorials With Video</title>
		<link>http://maniacdev.com/2010/01/incredible-iphone-game-programming-tutorials-with-video/</link>
		<comments>http://maniacdev.com/2010/01/incredible-iphone-game-programming-tutorials-with-video/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 08:56:54 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Game Programming]]></category>
		<category><![CDATA[iPhone Programming Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=586</guid>
		<description><![CDATA[&#160;Just like to turn you guys on to what are the best video iPhone game programming tutorials on the web so far in case you haven&#8217;t seen them. &#8211; Update Jan. 2nd 2010 &#8211; Tutorial 11 has been added, and I have upgrade this list to reflect that. These tutorials are from 71 squared.&#160; They [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;Just like to turn you guys on to what are the best video iPhone game programming tutorials on the web so far in case you haven&#8217;t seen them.</p>
<p>&#8211; Update Jan. 2nd 2010 &#8211; Tutorial 11 has been added, and I have upgrade this list to reflect that.</p>
<p>These tutorials are from 71 squared.&nbsp; They run through the steps to creating a game on the iPhone in tremendous detail, and include source code.&nbsp; Included are in-depth videos.</p>
<p>Here they are:</p>
<p><a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/03/iphone-game-programming-tutorial-1/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 1">iPhone Game Programming &ndash; Tutorial 1</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/03/iphone-game-programming-tutorial-2-image-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 2 &ndash; Image Class">iPhone Game Programming &ndash; Tutorial 2 &ndash; Image Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/03/iphone-game-programming-tutorial-3-spritesheet-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 3 &ndash; SpriteSheet Class">iPhone Game Programming &ndash; Tutorial 3 &ndash; SpriteSheet Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/04/iphone-game-programming-tutorial-4-bitmap-font-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 4 &ndash; Bitmap Font Class">iPhone Game Programming &ndash; Tutorial 4 &ndash; Bitmap Font Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/04/iphone-game-programming-tutorial-5-animation-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 5 &ndash; Animation Class">iPhone Game Programming &ndash; Tutorial 5 &ndash; Animation Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/05/iphone-game-programming-tutorial-6-tiled-map-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 6 &ndash; Tiled Map Class">iPhone Game Programming &ndash; Tutorial 6 &ndash; Tiled Map Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/05/iphone-game-programming-tutorial-7-singleton-class/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 7 &ndash; Singleton Class">iPhone Game Programming &ndash; Tutorial 7 &ndash; Singleton Class</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/05/iphone-game-programming-tutorial-8-particle-emitter/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 8 &ndash; Particle Emitter">iPhone Game Programming &ndash; Tutorial 8 &ndash; Particle Emitter</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/05/iphone-game-programming-tutorial-9-sound-manager/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 9 &ndash; Sound Manager">iPhone Game Programming &ndash; Tutorial 9 &ndash; Sound Manager</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/07/iphone-game-programming-tutorial-10-game-structure/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 10 &ndash; Game Structure">iPhone Game Programming &ndash; Tutorial 10 &ndash; Game Structure</a><br />
<a target="_blank" rel="nofollow" href="http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/" title="Permanent Link to iPhone Game Programming &ndash; Tutorial 10 &ndash; Game Structure">iPhone Game Programming &ndash; Tutorial 11 &ndash; Joypad </a></p>
<p>Now these gents are also writing a book on iPhone game programming.&nbsp; So absolutely if you like their tutorials I&nbsp;suggest you check it out.&nbsp; I&nbsp;don&#8217;t think it&#8217;s available for pre-order yet but you can read some info about it <a target="_blank" rel="nofollow" href="http://www.71squared.co.uk/2009/07/writing-a-book/">here</a>.</p>
<div id="seolinx-tooltip" style="border: 1px solid rgb(0, 0, 0); margin: 0pt; padding: 0pt; display: none; opacity: 0.9; position: absolute; width: auto; z-index: 99999;">
<table style="border: 0pt none ; margin: 0pt; padding: 0pt; border-collapse: separate; width: auto;">
<tbody>
<tr>
<td id="seolinx-table" style="border: 0pt none ; margin: 1px; padding: 0pt; font-family: Tahoma; font-size: 11px; font-weight: bold;">
<div style="margin: 0pt; padding: 0pt; overflow: auto; width: auto;">
<table id="seolinx-paramtable" style="border: 1px solid gray; margin: 0pt; border-collapse: separate;">
<tbody>
<tr>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://toolbarqueries.google.com/favicon.ico" alt="" />&nbsp;PR: <a href="javascript:{}" title="Google pagerank" seolinx-type="param" seolinx-param-index="0" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.google.com/favicon.ico" alt="" />&nbsp;I: <a href="javascript:{}" title="Google index" seolinx-type="param" seolinx-param-index="1" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.google.com/favicon.ico" alt="" />&nbsp;L: <a href="javascript:{}" title="Google links" seolinx-type="param" seolinx-param-index="2" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://siteexplorer.search.yahoo.com/favicon.ico" alt="" />&nbsp;LD: <a href="javascript:{}" title="Yahoo linkdomain" seolinx-type="param" seolinx-param-index="12" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.bing.com/favicon.ico" alt="" />&nbsp;I: <a href="javascript:{}" title="Bing index" seolinx-type="param" seolinx-param-index="20" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><a href="javascript:{}" title="Sitemap.xml" seolinx-type="param" seolinx-param-index="40" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.semrush.com/favicon.ico" alt="" />&nbsp;Rank: <a href="javascript:{}" title="SEMRush Rank" seolinx-type="param" seolinx-param-index="41" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.semrush.com/favicon.ico" alt="" />&nbsp;Traffic: <a href="javascript:{}" title="SEMRush SE Traffic" seolinx-type="param" seolinx-param-index="42" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://www.semrush.com/favicon.ico" alt="" />&nbsp;Price: <a href="javascript:{}" title="SEMRush SE Traffic price" seolinx-type="param" seolinx-param-index="43" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
<td style="border: 1px solid gray; padding: 2px; background: rgb(240, 240, 240) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: darkgreen; font-family: Tahoma; font-size: 7pt; font-weight: bold; white-space: nowrap;"><img height="12px" width="12px" style="vertical-align: middle;" src="http://siteanalytics.compete.com/favicon.ico" alt="" />&nbsp;C: <a href="javascript:{}" title="Compete Rank" seolinx-type="param" seolinx-param-index="108" style="color: blue; font-family: Tahoma; font-size: 7pt; font-weight: bold; text-decoration: underline;">wait&#8230;</a></td>
</tr>
</tbody>
</table></div>
<div style="margin: 0pt; padding: 0pt; overflow: auto; width: auto;">
<table style="border: 1px solid gray; margin: 0pt; border-collapse: separate;" id="seolinx-paramtable">
            </table>
</p></div>
</td>
<td style="border: 0pt none ; margin: 0pt; padding: 1px; cursor: pointer; vertical-align: middle; width: auto;" id="seolinx-tooltip-close" title="close"><img alt="" src="chrome://seoquake/content/skin/close.gif" /></td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<div style="border: 1px solid rgb(0, 0, 0); margin: 0pt; padding: 0pt; display: none; opacity: 0.9; position: absolute; width: auto; z-index: 99999;" id="seolinx-tooltip">
<table style="border: 0pt none ; margin: 0pt; padding: 0pt; border-collapse: separate; width: auto;">
<tbody>
<tr>
<td style="border: 0pt none ; margin: 1px; padding: 0pt; font-family: Tahoma; font-size: 11px; font-weight: bold;" id="seolinx-table">&nbsp;</td>
<td title="close" id="seolinx-tooltip-close" style="border: 0pt none ; margin: 0pt; padding: 1px; cursor: pointer; vertical-align: middle; width: auto;"><img src="chrome://seoquake/content/skin/close.gif" alt="" /></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video%20-%20http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F&amp;t=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F&amp;title=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F&amp;t=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F&amp;title=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video&amp;notes=%26nbsp%3BJust%20like%20to%20turn%20you%20guys%20on%20to%20what%20are%20the%20best%20video%20iPhone%20game%20programming%20tutorials%20on%20the%20web%20so%20far%20in%20case%20you%20haven%27t%20seen%20them.%0D%0A%0D%0A--%20Update%20Jan.%202nd%202010%20-%20Tutorial%2011%20has%20been%20added%2C%20and%20I%20have%20upgrade%20this%20list%20to%20reflect%20that.%0D%0A" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Incredible%20iPhone%20Game%20Programming%20Tutorials%20With%20Video&amp;link=http%3A%2F%2Fmaniacdev.com%2F2010%2F01%2Fincredible-iphone-game-programming-tutorials-with-video%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2010/01/incredible-iphone-game-programming-tutorials-with-video/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>The Open Source iPhone Game Engine Comparison</title>
		<link>http://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparison/</link>
		<comments>http://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparison/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 05:40:55 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Game Programming]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone game engine]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=612</guid>
		<description><![CDATA[I&#8217;m often asked about which iPhone game engine to use, and I know most people are looking for a free game engine so here is a comparison of the different open source iPhone game engines that actually have apps out there. Update.   I&#8217;ve added in the Sparrow Framework. Sparrow Framework The Sparrow Framework is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m often asked about which iPhone game engine to use, and I know most people are looking for a free game engine so here is a comparison of the different open source iPhone game engines that actually have apps out there.</p>
<p>Update.   I&#8217;ve added in the Sparrow Framework.</p>
<h2>Sparrow Framework</h2>
<p>The <a href="http://sparrow-framework.org" target="_blank">Sparrow Framework</a> is a very lightweight 2D game engine created in Objective-C.  In a very short amount of time I was able to understand the framework, and I find it to be very intuitive.</p>
<p>While I have not done much Flash game programming the developers state that the game engine was created with Flash game developers in mind.</p>
<p>The game framework includes all the necessary features you&#8217;d require for creating a basic 2D game such as easy animation, and a sound engine.</p>
<h2>Cocos2D IPhone</h2>
<p>The <a rel="nofollow" href="http://www.cocos2d-iphone.org/" target="_blank">Cocos2D iPhone game engine</a> is a port of a game engine originally created in Python and converted to iPhone Objective-C.  As you can tell from the name, Cocos2D is designed for 2D games, that being said, although the engine is in a 2D world, the engine includes a growing collection of high quality 3D special effects.</p>
<p>Cocos2D has been used in <a rel="nofollow" href="http://www.cocos2d-iphone.org/forum/forum/1" target="_blank">many games</a> on the iPhone app store, you can visit the official site here, where many are listed.</p>
<p>Cocos2D is the first engine to check out, while many may be turned off by the engine not supporting a 3d world, if you look at most of the top iPhone games the gameplay is 2D, in fact the iPhone&#8217;s touch screen controls can make it difficult to operate in a 3D world.</p>
<p>Also included is support for the in-game Chipmunk engine, and the latest version of Cocos also includes an OpenAL based sound engine.</p>
<p>The engine provides more examples than any of the other engines out there because of the large community.  Overall I&#8217;d say the engine is as easy to use as any engine that does not have an environment editor.</p>
<p>Uses the LGPL license.</p>
<h2>Sio2Engine</h2>
<p>The <a rel="nofollow" href="http://sio2interactive.com" target="_blank">SIO2 game engine</a> is an excellent 3D game engine written in C.  There is a free oepn source version, and a an indie version for $49.  The free eidtion requires you to show a splash screen at the start of your game illustrating your use of the engine.  This in my opinion is extremely fair considering the quality of the engine.</p>
<p>The game engine uses blender in it&#8217;s toolchain for scene and model creation.  If you haven&#8217;t used Blender, it is a sophisticated open source 3D modeling program.  In my opinion this is the only thing I don&#8217;t really like about sio2, while some love it, I can&#8217;t stand using blender as I&#8217;ve found it can&#8217;t compare to the top commercial modeling programs. Fortunately there are many blender plugins that allow you to import a wide variety of modeling formats.</p>
<p>SIO2 comes with an excellent set of tutorials, and provides support for sophisticated features such as skeletal animation, and soft-body physics which are explained in the tutorials.</p>
<p>I&#8217;ve found the performance of the latest version of the SIO2 game engine, version 1.4 to provide significantly better performance than previous versions.  If you haven&#8217;t checked out SIO2 in awhile then I suggest you check it out again.</p>
<p>I recommend SIO2 to those who insist on a 3D world and thus can&#8217;t use Cocos.</p>
<h2>Oolong Engine</h2>
<p>The <a rel="nofollow" href="http://oolongengine.com" target="_blank">Oolong game engine</a> is a 3D engine written in C++, and provides excellent performance.  The downside of the Oolong engine is that it is difficult to use for those that are not familiar with OpenGL ES.</p>
<p>Oolong provides support for a wide variety of features, and very good performance, as I said my only problem with Oolong is that it is difficult to use.  This is a low-level engine designed for programmers so if you&#8217;re just getting into game development I would stay away.</p>
<p>You will find the latest version on google code, there is very little documentation for Oolong, but the community is very active, and you can get answers to many of your questions there.</p>
<p>I would recommend Oolong to those looking to create their own game engine looking for something to start with.</p>
<p>Uses the MIT license.</p>
<h2>Irrlicht Engine</h2>
<p>I mention Irrlicht here only because I received a message from someone stating that it was available on the iPhone.</p>
<p>The <a rel="nofollow" href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht game engine</a> is a 3D game engine written in C++.</p>
<p>While there is no official port available on the Irrlicht website for the iPhone with some tinkering I was able to get the OpenGL ES version running on the iPhone &#8212; somewhat.  You will find the OpenGL ES version hidden away in the repository.</p>
<p>Irrlicht is an excellent open source engine that has support for an extremely wide variety of file formats, and has the best support for the &#8220;classic&#8221; BSP format that I&#8217;ve seen in an open source game engine.  There are also numerous other tools that have been created for the engine.</p>
<p>All this being said, I can&#8217;t recommend Irrlicht because there is no official port, and if you check out the forums there really is no one willing to provide help to those looking to get it running on the iPhone although some have created apps running on the iPhone.</p>
<p>The Irrlicht engine uses the Zlib license.</p>
<h2>Summary</h2>
<p>Cocos2D makes an excellent first choice for those developing a 2D iPhone game.  You will learn Objective-C while using the engine, and the engine has been proven in a wide variety of games.</p>
<p>For 3D games my choice is SIO2, although I&#8217;m not a fan of blender this does make it more accessible than the other proven 3D iPhone game engines.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F&amp;t=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F&amp;title=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F&amp;t=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F&amp;title=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison&amp;notes=I%27m%20often%20asked%20about%20which%20iPhone%20game%20engine%20to%20use%2C%20and%20I%20know%20most%20people%20are%20looking%20for%20a%20free%20game%20engine%20so%20here%20is%20a%20comparison%20of%20the%20different%20open%20source%20iPhone%20game%20engines%20that%20actually%20have%20apps%20out%20there.%0D%0A%0D%0AUpdate.%20%C2%A0%20I%27ve%20added%20in%20t" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=The%20Open%20Source%20iPhone%20Game%20Engine%20Comparison&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fthe-open-source-iphone-game-engine-comparison%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparison/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Push Notification Server Tutorial</title>
		<link>http://maniacdev.com/2009/08/push-notification-server-tutorial/</link>
		<comments>http://maniacdev.com/2009/08/push-notification-server-tutorial/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 06:01:59 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Programming Examples]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[push notification]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=593</guid>
		<description><![CDATA[Hi everyone, sorry about the frequency of posts as of late, I&#160;was out of town for a few days, and accepted a ft position for the next couple of months, so I am currently overwhelmed. Something I&#8217;ve been looking into mainly for testing purposes is push notification.&#160; Now, push notification can really mess up an [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone, sorry about the frequency of posts as of late, I&nbsp;was out of town for a few days, and accepted a ft position for the next couple of months, so I am currently overwhelmed.</p>
<p>Something I&#8217;ve been looking into mainly for testing purposes is push notification.&nbsp; Now, push notification can really mess up an app so you have to be able to deal with it.</p>
<p>Creating a push notification server can be complex especially if you&#8217;re not a web developer.</p>
<p>I found this great tutorial here:<br />
<a href="http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/"><span style="text-decoration: underline;">Push Notification Server Tutorial</span></a></p>
<p>Which does a great job of showing how it&#8217;s done.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Push%20Notification%20Server%20Tutorial%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F&amp;t=Push%20Notification%20Server%20Tutorial" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F&amp;title=Push%20Notification%20Server%20Tutorial" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F&amp;t=Push%20Notification%20Server%20Tutorial" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F&amp;title=Push%20Notification%20Server%20Tutorial&amp;notes=Hi%20everyone%2C%20sorry%20about%20the%20frequency%20of%20posts%20as%20of%20late%2C%20I%26nbsp%3Bwas%20out%20of%20town%20for%20a%20few%20days%2C%20and%20accepted%20a%20ft%20position%20for%20the%20next%20couple%20of%20months%2C%20so%20I%20am%20currently%20overwhelmed.%0D%0ASomething%20I%27ve%20been%20looking%20into%20mainly%20for%20testing%20purposes%20" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Push%20Notification%20Server%20Tutorial&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F08%2Fpush-notification-server-tutorial%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/08/push-notification-server-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Doing Some iPhone Game Programming</title>
		<link>http://maniacdev.com/2009/07/doing-some-iphone-game-programming/</link>
		<comments>http://maniacdev.com/2009/07/doing-some-iphone-game-programming/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 07:35:44 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Game Programming]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=584</guid>
		<description><![CDATA[Just in case there&#8217;s any graphics designers interested, I have finally finished off some more of the contract work, and with a lighter load, my next ambition is to do some iPhone game programming. My intent is to develop a number of iPhone games in a short amount of time.&#160; Ultimately all will be open [...]]]></description>
			<content:encoded><![CDATA[<p>Just in case there&#8217;s any graphics designers interested, I have finally finished off some more of the contract work, and with a lighter load, my next ambition is to do some iPhone game programming.</p>
<p>My intent is to develop a number of iPhone games in a short amount of time.&nbsp; Ultimately all will be open sourced, released as 0.99 cent or free games, and have coinciding tutorials written.&nbsp; I actually created a very simple game this evening in a couple of hours that could already use the styling of an artist.&nbsp; I&#8217;ve planned out the next few games, and they shouldn&#8217;t take to long, all the games will be 2D, the first few written wiith Cocoa, and the rest using Cocos2D.</p>
<p>So just in case there&#8217;s any graphic artists out there reading interested in the possibility of some publicity and possibly profit from iPhone graphics work feel free to <a href="http://maniacdev.com/contact/" target="_blank" rel="nofollow">contact me</a>.&nbsp; Please understand that my intent with the games is for publicity, although I do believe future work customizing/rebranding these games is possible after talking with a few peers.</p>
<p>Thanks for reading.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Doing%20Some%20iPhone%20Game%20Programming%20%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F&amp;t=Doing%20Some%20iPhone%20Game%20Programming%20" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F&amp;title=Doing%20Some%20iPhone%20Game%20Programming%20" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F&amp;t=Doing%20Some%20iPhone%20Game%20Programming%20" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F&amp;title=Doing%20Some%20iPhone%20Game%20Programming%20&amp;notes=Just%20in%20case%20there%27s%20any%20graphics%20designers%20interested%2C%20I%20have%20finally%20finished%20off%20some%20more%20of%20the%20contract%20work%2C%20and%20with%20a%20lighter%20load%2C%20my%20next%20ambition%20is%20to%20do%20some%20iPhone%20game%20programming.%0D%0A%0D%0AMy%20intent%20is%20to%20develop%20a%20number%20of%20iPhone%20games%20i" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Doing%20Some%20iPhone%20Game%20Programming%20&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fdoing-some-iphone-game-programming%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/doing-some-iphone-game-programming/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Update For Cocos 2D iPhone Game Engine</title>
		<link>http://maniacdev.com/2009/07/update-for-cocos-2d-iphone-game-engine/</link>
		<comments>http://maniacdev.com/2009/07/update-for-cocos-2d-iphone-game-engine/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 08:44:51 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[Cocos2D]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=582</guid>
		<description><![CDATA[The excellent and free Cocos2D iPhone game engine has been updated with a plethora of new features. The highlights include: a new sound engine touch dispatcher faster actions an improved particle system If you haven&#8217;t tried Cocos and are looking to develop a 2d game on the iPhone quickly without having to purchase a commercial [...]]]></description>
			<content:encoded><![CDATA[<p>The excellent and free Cocos2D iPhone game engine has been updated with a plethora of new features.</p>
<p>The highlights include:</p>
<blockquote>
<ul>
<li>a new sound engine</li>
<li>touch dispatcher</li>
<li>faster actions</li>
<li>an improved particle system</li>
</ul>
</blockquote>
<p>If you haven&#8217;t tried Cocos and are looking to develop a 2d game on the iPhone quickly without having to purchase a commercial engine you should check out Cocos2D <a href="http://code.google.com/p/cocos2d-iphone/">here</a>. <br />
&nbsp;</p>
<p>[via <a href="http://www.cocos2d-iphone.org/">cocos2d for iPhone</a>]</p>
<p>&nbsp;</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F&amp;t=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F&amp;title=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F&amp;t=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F&amp;title=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine&amp;notes=The%20excellent%20and%20free%20Cocos2D%20iPhone%20game%20engine%20has%20been%20updated%20with%20a%20plethora%20of%20new%20features.%0D%0A%0D%0AThe%20highlights%20include%3A%0D%0A%0D%0A%0D%0A%20%20%20%20a%20new%20sound%20engine%0D%0A%20%20%20%20touch%20dispatcher%0D%0A%20%20%20%20faster%20actions%0D%0A%20%20%20%20an%20improved%20particle%20system%0D%0A%0D%0A%0D%0AIf%20you%20haven%27t%20" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Update%20For%20Cocos%202D%20iPhone%20Game%20Engine&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fupdate-for-cocos-2d-iphone-game-engine%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/update-for-cocos-2d-iphone-game-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone OpenGL ES 3D Collision Detection Tutorials</title>
		<link>http://maniacdev.com/2009/07/iphone-opengl-es-3d-collision-detection-tutorials/</link>
		<comments>http://maniacdev.com/2009/07/iphone-opengl-es-3d-collision-detection-tutorials/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:47:18 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone OpenGL ES Programming]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[opengl]]></category>
		<category><![CDATA[opengl es]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=575</guid>
		<description><![CDATA[Simon Maurice, has added two new tutorials to his collection of iPhone OpenGL ES Tutorials which I mentioned on my iPhone OpenGL ES resources page. Tutorials: 1. Collision Detection 2. Collision Detection 2: Moller &#38; Trumbore’s Fast Triangle Ray Intersect **** Tutorials are currently deactivated they may be back in the future (due to contract issues with the Author [...]]]></description>
			<content:encoded><![CDATA[<p>Simon Maurice, has added two new tutorials to his collection of iPhone OpenGL ES Tutorials which I mentioned on my <a href="http://maniacdev.com/2009/07/16-killer-opengl-es-resources/">iPhone OpenGL</a> ES resources page.</p>
<p>Tutorials:<br />
1. <span class="bl-value-title">Collision Detection</span><br />
2. <span class="bl-value-title">Collision Detection 2: Moller &amp; Trumbore’s Fast Triangle Ray Intersect</span></p>
<p><span class="bl-value-title">**** Tutorials are currently deactivated they may be back in the future (due to contract issues with the Author and employer).</span></p>
<p>I haven&#8217;t had a chance yet to check these out, but they look fantastic.  Just looking from the pictures I can see that they are damn cool.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F&amp;t=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F&amp;title=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F&amp;t=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F&amp;title=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials&amp;notes=Simon%20Maurice%2C%20has%20added%20two%20new%20tutorials%20to%20his%20collection%20of%20iPhone%20OpenGL%C2%A0ES%C2%A0Tutorials%20which%20I%C2%A0mentioned%20on%20my%20iPhone%20OpenGL%20ES%C2%A0resources%20page.%0D%0A%0D%0ATutorials%3A%0D%0A1.%20Collision%20Detection%0D%0A2.%20Collision%20Detection%202%3A%20Moller%20%26amp%3B%20Trumbore%E2%80%99s%20Fast%20Tr" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=iPhone%20OpenGL%20ES%203D%20Collision%20Detection%20Tutorials&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fiphone-opengl-es-3d-collision-detection-tutorials%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/iphone-opengl-es-3d-collision-detection-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid Retain Cycles In Objective-C</title>
		<link>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/</link>
		<comments>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 20:32:44 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Objective-C Programming]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=572</guid>
		<description><![CDATA[Found an excellent set of rules from Matt Gallagher on how to avoid retain cycles in Objective-C.&#160; Uh-Oh A Class Is Still Retained Somewhere&#8230; A problem that can occur in Objective-C&#160;is that when you start sharing objects between classes and increasing the retain count you can end up with a situation where one class inherits [...]]]></description>
			<content:encoded><![CDATA[<p>Found an excellent set of rules from Matt Gallagher on how to avoid retain cycles in Objective-C.&nbsp; </p>
<p><span style="font-size: medium;">Uh-Oh A Class Is Still Retained Somewhere&#8230;</span></p>
<p><span style="font-size: small;">A problem that can occur in Objective-C&nbsp;is that when you start sharing objects between classes and increasing the retain count you can end up with a situation where one class inherits from another, and then when you want to release the object does not get released from memory because it is being retained by a class lower down the class hierarchy.<br />
</span><br />
<span style="font-size: medium;">One Basic Rule<br />
</span><br />
<span style="font-size: small;">Now if this all sounds confusing, Matt explains everything well in his article, and has created a set of 5 rules.&nbsp; Ultimately it comes down to one basic rule:</span></p>
<blockquote>
<p><span style="font-size: small;"><em><span class="fullpost">&quot;an object may only retain something indefinitely if it is hierarchically senior. If you don&#8217;t know which object is senior, you must work it out before you retain. If there is no clear senior object &mdash; you should redesign so that there is.</span>&quot;</em></span></p>
</blockquote>
<p>
For a more detailed detailed explanation (with diagrams)&nbsp;be sure to check out:&nbsp;<a href="http://cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html">Rules To Avoid Retain Cycles</a></p>
<p>[Via:&nbsp;<a href="http://cocoawithlove.com/">Cocoa With Love</a>]</p>
<p>&nbsp;</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Avoid%20Retain%20Cycles%20In%20Objective-C%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F&amp;t=Avoid%20Retain%20Cycles%20In%20Objective-C" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F&amp;title=Avoid%20Retain%20Cycles%20In%20Objective-C" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F&amp;t=Avoid%20Retain%20Cycles%20In%20Objective-C" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F&amp;title=Avoid%20Retain%20Cycles%20In%20Objective-C&amp;notes=Found%20an%20excellent%20set%20of%20rules%20from%20Matt%20Gallagher%20on%20how%20to%20avoid%20retain%20cycles%20in%20Objective-C.%26nbsp%3B%20%0D%0A%0D%0AUh-Oh%20A%20Class%20Is%20Still%20Retained%20Somewhere...%0D%0A%0D%0AA%20problem%20that%20can%20occur%20in%20Objective-C%26nbsp%3Bis%20that%20when%20you%20start%20sharing%20objects%20between%20cl" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Avoid%20Retain%20Cycles%20In%20Objective-C&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Favoid-retain-cycles-in-objective%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fast Math Programming iPhone Library</title>
		<link>http://maniacdev.com/2009/07/fast-math-programming/</link>
		<comments>http://maniacdev.com/2009/07/fast-math-programming/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 07:52:58 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Game Programming]]></category>
		<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=569</guid>
		<description><![CDATA[I was e-mailed an interesting question, and that was whether or not if I&#160;knew there was a fast math programming library for the iPhone. The answer to that is yes, I&#160;do know of one library which is known as the vfpmathlibrary.&#160; The latest version of the library is included in the open source Oolong Engine.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I was e-mailed an interesting question, and that was whether or not if I&nbsp;knew there was a fast math programming library for the iPhone. </p>
<p>The answer to that is yes, I&nbsp;do know of one library which is known as the vfpmathlibrary.&nbsp; The latest version of the library is included in the open source <a href="http://oolongengine.com" rel="nofollow" target="_blank">Oolong Engine</a>.&nbsp; Some extra compilation instructions can be found within the actual files themselves, and you can also look at how the Oolong projects are set up.&nbsp; </p>
<p>A math programming library such as this one is somewhat beyond the scope of what this site is about, but for those interested in this level of optimization I found this blog post called <a href="http://aleiby.blogspot.com/2008/12/iphone-vfp-for-n00bs.html" rel="nofollow" target="_blank">VFP&nbsp;for noobs</a>. I look forward to learning more, but have a long way to go.</p>
<p>From what I&nbsp;understand this library can provide a large increase in speed vs. the standard c math libraries so if you are pushing the envelope then it may be worth checking out.&nbsp; At this point I&nbsp;have not seen the library used in the other open source iPhone game engines.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Fast%20Math%20Programming%20iPhone%20Library%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F&amp;t=Fast%20Math%20Programming%20iPhone%20Library" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F&amp;title=Fast%20Math%20Programming%20iPhone%20Library" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F&amp;t=Fast%20Math%20Programming%20iPhone%20Library" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F&amp;title=Fast%20Math%20Programming%20iPhone%20Library&amp;notes=I%20was%20e-mailed%20an%20interesting%20question%2C%20and%20that%20was%20whether%20or%20not%20if%20I%26nbsp%3Bknew%20there%20was%20a%20fast%20math%20programming%20library%20for%20the%20iPhone.%20%0D%0A%0D%0AThe%20answer%20to%20that%20is%20yes%2C%20I%26nbsp%3Bdo%20know%20of%20one%20library%20which%20is%20known%20as%20the%20vfpmathlibrary.%26nbsp%3B%20The%20" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Fast%20Math%20Programming%20iPhone%20Library&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Ffast-math-programming%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/fast-math-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning iPhone Development 3 Book Source Code</title>
		<link>http://maniacdev.com/2009/07/beginning-iphone-development-3-book-source-code/</link>
		<comments>http://maniacdev.com/2009/07/beginning-iphone-development-3-book-source-code/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 21:02:53 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=565</guid>
		<description><![CDATA[I haven&#8217;t read the new edition yet, but since Beginning iPhone Development was the best book I&#8217;ve seen on iPhone development I thought I&#160;would let you guys know that the source code has been updated and Beginning iPhone 3 Development made available. You can download the source code and here and also order an e-book [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t read the new edition yet, but since Beginning iPhone Development was the best book I&#8217;ve seen on iPhone development I thought I&nbsp;would let you guys know that the source code has been updated and Beginning iPhone 3 Development made available.</p>
<p>You can download the source code and <a href="http://www.apress.com/book/downloadfile/4443">here</a> and also <a href="http://www.apress.com/book/view/1430224592" target="_new" rel="nofollow">order an e-book</a> from from the Apress website at $12 off the print cover price.&nbsp; The new book provides new material on iPhone SDK&nbsp;3 features such as Core Data, and updates several examples.&nbsp; Overall there is about 50 pages of new material. &nbsp; </p>
<p>My suggestion is to take a look at the examples in the source code, and make the decision yourself if you feel the new book is worth ordering if you already have the first Beginning iPhone Development book.&nbsp; For beginners I&nbsp;absolutely recommend this book once you have a decent understanding of Objective-C. For a look at my favorite iPhone development books please check out my post on the 3 must read <a href="http://maniacdev.com/2009/07/the-3-books-beginning-iphone-developers-must-read/">iPhone development books</a>.</p>
<p>Amazon actually has a print version of the book <a href="http://www.amazon.com/Beginning-iPhone-Development-Exploring-SDK/dp/1430224592/ref=sr_1_1?ie=UTF8&amp;qid=1248725711&amp;sr=8-1" target="_new" rel="nofollow">available here</a> for $26.39 which is a significant savings over the print version on the Apress site.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Beginning%20iPhone%20Development%203%20Book%20Source%20Code%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F&amp;t=Beginning%20iPhone%20Development%203%20Book%20Source%20Code" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F&amp;title=Beginning%20iPhone%20Development%203%20Book%20Source%20Code" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F&amp;t=Beginning%20iPhone%20Development%203%20Book%20Source%20Code" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F&amp;title=Beginning%20iPhone%20Development%203%20Book%20Source%20Code&amp;notes=I%20haven%27t%20read%20the%20new%20edition%20yet%2C%20but%20since%20Beginning%20iPhone%20Development%20was%20the%20best%20book%20I%27ve%20seen%20on%20iPhone%20development%20I%20thought%20I%26nbsp%3Bwould%20let%20you%20guys%20know%20that%20the%20source%20code%20has%20been%20updated%20and%20Beginning%20iPhone%203%20Development%20made%20availa" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Beginning%20iPhone%20Development%203%20Book%20Source%20Code&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fbeginning-iphone-development-3-book-source-code%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/beginning-iphone-development-3-book-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global Variables in iPhone Objective-C</title>
		<link>http://maniacdev.com/2009/07/global-variables-in-iphone-objective-c/</link>
		<comments>http://maniacdev.com/2009/07/global-variables-in-iphone-objective-c/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 07:36:32 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Objective-C Programming]]></category>
		<category><![CDATA[iPhone Programming Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=549</guid>
		<description><![CDATA[If you studied any programming in school you were probably told to never use global variables because ultimately it can cause you end up with a messy slob of code that is difficult to maintain, and this holds true in iPhone Objective-C. While that is correct, the truth of the matter is there are many [...]]]></description>
			<content:encoded><![CDATA[<p>If you studied any programming in school you were probably told to never use global variables because ultimately it can cause you end up with a messy slob of code that is difficult to maintain, and this holds true in iPhone Objective-C.</p>
<p>While that is correct, the truth of the matter is there are many situations when you want to have a global variable, as often there are variables that don&#8217;t really belong to any objects, and you want to change them from many locations within your application.&nbsp; You could of course place variables in your AppDelegate and access them through there, but this is not a good solution and can turn things into a great big mess which is the reason why many college professors forbid the use of global variables in all languages (not simply because they may have never actually coded anything).&nbsp; The solution to this is to create a class using the Singleton design pattern.&nbsp; For example:</p>
<pre>
@interface VariableStore : NSObject
{
&nbsp;&nbsp;&nbsp; // Place any &quot;global&quot; variables here
}
// message from which our instance is obtained
+ (VariableStore *)sharedInstance;
@end

@implementation VariableStore
+ (VariableStore *)sharedInstance
{
&nbsp;&nbsp;&nbsp; // the instance of this class is stored here
&nbsp;&nbsp;&nbsp; static VariableStore *myInstance = nil;
&nbsp;
&nbsp;&nbsp;&nbsp; // check to see if an instance already exists
&nbsp;&nbsp;&nbsp; if (nil == myInstance) {
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; myInstance&nbsp; = [[[self class] alloc] init];
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // initialize variables here
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; // return the instance of this class
&nbsp;&nbsp;&nbsp; return myInstance;
}
@end
</pre>
<p>Whenever you need to access a variable assuming you have a getter defined as the variable name simply use:</p>
<pre>
[[VariableStore sharedInstance] variableName]
</pre>
<p>If the variable is a primitive, and a global constant then there is really no need to use a singleton as above you can use a preprocessor #define statement. For example:</p>
<pre>
#define VARIABLE value</pre>
<p>Now when you need to share a variable between many objects this should make for much simpler, and cleaner code.</p>
<p>If you&#8217;re transitioning to Objective-C&nbsp;from C/C++/Java you might want to check out my <a href="http://maniacdev.com/2009/06/iphone-sdk-objective-c-cheat-sheet-updated/">Objective-C&nbsp;Cheat Sheet</a>.</p>
<p>&copy;2010 <a href="http://maniacdev.com">iPhone iOS 4 iPad SDK Development Tutorials, Programming Tips, News</a>. All Rights Reserved.</p>.
<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://maniacdev.com/feed/" title="RSS"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Global%20Variables%20in%20iPhone%20Objective-C%20-%20http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F" title="Twitter"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F&amp;t=Global%20Variables%20in%20iPhone%20Objective-C" title="Facebook"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F&amp;title=Global%20Variables%20in%20iPhone%20Objective-C" title="DZone"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F&amp;t=Global%20Variables%20in%20iPhone%20Objective-C" title="HackerNews"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F&amp;title=Global%20Variables%20in%20iPhone%20Objective-C&amp;notes=If%20you%20studied%20any%20programming%20in%20school%20you%20were%20probably%20told%20to%20never%20use%20global%20variables%20because%20ultimately%20it%20can%20cause%20you%20end%20up%20with%20a%20messy%20slob%20of%20code%20that%20is%20difficult%20to%20maintain%2C%20and%20this%20holds%20true%20in%20iPhone%20Objective-C.%0D%0A%0D%0AWhile%20that" title="del.icio.us"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Global%20Variables%20in%20iPhone%20Objective-C&amp;link=http%3A%2F%2Fmaniacdev.com%2F2009%2F07%2Fglobal-variables-in-iphone-objective-c%2F" title="FriendFeed"><img src="http://maniacdev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/global-variables-in-iphone-objective-c/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
