<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: iPhone from A Game Developer&#8217;s Perspective: The iPhone API</title>
	<atom:link href="http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/feed" rel="self" type="application/rss+xml" />
	<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api</link>
	<description>Living the indie life</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:36:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Noel</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-967</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Tue, 24 Feb 2009 16:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-967</guid>
		<description>There&#039;s no need to get into undocumented stuff to turn off the selection bar in UIPickerView. Just turn the property showsSelectionIndicator to false and you&#039;re all set :-)</description>
		<content:encoded><![CDATA[<p>There&#8217;s no need to get into undocumented stuff to turn off the selection bar in UIPickerView. Just turn the property showsSelectionIndicator to false and you&#8217;re all set <img src='http://gamesfromwithin.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeshua Lacock</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-962</link>
		<dc:creator>Jeshua Lacock</dc:creator>
		<pubDate>Tue, 24 Feb 2009 10:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-962</guid>
		<description>Hello Noel,

Is there anyway you could tell me what variable you used to disable the selection bar for the UIPickerView?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello Noel,</p>
<p>Is there anyway you could tell me what variable you used to disable the selection bar for the UIPickerView?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-840</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Mon, 19 Jan 2009 05:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-840</guid>
		<description>@Tim: I looked into accessing _pickerViewFlags from UIPickerView through valueForKey, but that was a no go. I was able to access the private variables OK, but somehow not that one (it would cause an unhandled memory access just to try and access it). I don&#039;t know if it&#039;s because it&#039;s in the @package visiblity or what.

Then I tried to do a really horrible hack: Figure out where _pickerViewFlags is in memory (UIPickerView + 0x3C) and change it directly. Unfortunately, it looks like soundsEnabled is not really used! I can tweak some of the other variables, and turn off the selection bar for example, but the soundsEnabled bit is turned off already.

Thanks for the technique anyway, I&#039;m sure it&#039;s going to come in handy. Too bad it won&#039;t solve this one problem.</description>
		<content:encoded><![CDATA[<p>@Tim: I looked into accessing _pickerViewFlags from UIPickerView through valueForKey, but that was a no go. I was able to access the private variables OK, but somehow not that one (it would cause an unhandled memory access just to try and access it). I don&#8217;t know if it&#8217;s because it&#8217;s in the @package visiblity or what.</p>
<p>Then I tried to do a really horrible hack: Figure out where _pickerViewFlags is in memory (UIPickerView + 0x3C) and change it directly. Unfortunately, it looks like soundsEnabled is not really used! I can tweak some of the other variables, and turn off the selection bar for example, but the soundsEnabled bit is turned off already.</p>
<p>Thanks for the technique anyway, I&#8217;m sure it&#8217;s going to come in handy. Too bad it won&#8217;t solve this one problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rod</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-761</link>
		<dc:creator>Rod</dc:creator>
		<pubDate>Tue, 06 Jan 2009 04:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-761</guid>
		<description>Is there somewhere I can get a copy of the &quot;Crash Landing,&quot; source? It appears to be no longer available in the Apple Developers samples.

thanks</description>
		<content:encoded><![CDATA[<p>Is there somewhere I can get a copy of the &#8220;Crash Landing,&#8221; source? It appears to be no longer available in the Apple Developers samples.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-760</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 06 Jan 2009 02:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-760</guid>
		<description>Regarding your issue with the UIPickerView sound flag, Objective-C doesn&#039;t really have private variables.  With Key Value Coding (KVC), you can get and set the value for any member variable.  Use -valueForKey: and -setValue:forKey:.  Now, you still might not want to do it since Apple could change the _pickerViewFlags structure at any time.

I recommend the new book Learn Objective-C on the Mac.  It is a good, concise book that teaches cool ideas like this.
</description>
		<content:encoded><![CDATA[<p>Regarding your issue with the UIPickerView sound flag, Objective-C doesn&#8217;t really have private variables.  With Key Value Coding (KVC), you can get and set the value for any member variable.  Use -valueForKey: and -setValue:forKey:.  Now, you still might not want to do it since Apple could change the _pickerViewFlags structure at any time.</p>
<p>I recommend the new book Learn Objective-C on the Mac.  It is a good, concise book that teaches cool ideas like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rod</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-755</link>
		<dc:creator>Rod</dc:creator>
		<pubDate>Mon, 05 Jan 2009 23:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-755</guid>
		<description>I think I tried STL as a test and it worked, and I also installed Boost and it works as well.</description>
		<content:encoded><![CDATA[<p>I think I tried STL as a test and it worked, and I also installed Boost and it works as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-751</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Mon, 05 Jan 2009 19:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-751</guid>
		<description>No way Michael! No way I&#039;m writing another technical book any time soon. It&#039;s such a thankless job and there&#039;s hardly any money involved unless you&#039;re targetting a huge audience.</description>
		<content:encoded><![CDATA[<p>No way Michael! No way I&#8217;m writing another technical book any time soon. It&#8217;s such a thankless job and there&#8217;s hardly any money involved unless you&#8217;re targetting a huge audience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-750</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Mon, 05 Jan 2009 19:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-750</guid>
		<description>Claus, 

To tell you the truth, I hadn&#039;t even looked into the STL. I don&#039;t like it for runtime stuff, so I didn&#039;t even think of looking. The template support in the iPhone compiler is a bit old, but I just checked and the STL headers are there and they compile and link just fine. One weird thing is that they aren&#039;t in the std:: namespace but in _GLIBCXX_STD. WTF? :-b

Even if that wasn&#039;t the case, I&#039;m sure you could get STLPort or uSTL to work just fine.

As far as floating point support, is right there. The CPU has a hardware floating point unit, so performance is supposed to be decent.

I admit that I&#039;m working on 100% iPhone exclusive apps though, so I&#039;m not trying to keep them cross-platform. I was able to create a prototype in C++ and OpenGL on Windows and have it up and running on the iPhone with almost no changes though, so as long as you&#039;re not doing iPhone-specific stuff, porting should be pretty easy.</description>
		<content:encoded><![CDATA[<p>Claus, </p>
<p>To tell you the truth, I hadn&#8217;t even looked into the STL. I don&#8217;t like it for runtime stuff, so I didn&#8217;t even think of looking. The template support in the iPhone compiler is a bit old, but I just checked and the STL headers are there and they compile and link just fine. One weird thing is that they aren&#8217;t in the std:: namespace but in _GLIBCXX_STD. WTF? :-b</p>
<p>Even if that wasn&#8217;t the case, I&#8217;m sure you could get STLPort or uSTL to work just fine.</p>
<p>As far as floating point support, is right there. The CPU has a hardware floating point unit, so performance is supposed to be decent.</p>
<p>I admit that I&#8217;m working on 100% iPhone exclusive apps though, so I&#8217;m not trying to keep them cross-platform. I was able to create a prototype in C++ and OpenGL on Windows and have it up and running on the iPhone with almost no changes though, so as long as you&#8217;re not doing iPhone-specific stuff, porting should be pretty easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Seare</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-749</link>
		<dc:creator>Michael Seare</dc:creator>
		<pubDate>Mon, 05 Jan 2009 19:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-749</guid>
		<description>&quot;I hope that books and other resources pop up with that audience in mind.&quot;

Hmmm... I smell another book you can write.  :-)</description>
		<content:encoded><![CDATA[<p>&#8220;I hope that books and other resources pop up with that audience in mind.&#8221;</p>
<p>Hmmm&#8230; I smell another book you can write.  <img src='http://gamesfromwithin.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mos</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-747</link>
		<dc:creator>mos</dc:creator>
		<pubDate>Mon, 05 Jan 2009 18:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-747</guid>
		<description>@Claus Hoefele

No stl?  Yikes.  That&#039;s ...not good.  I&#039;m going to have to refactor quite a bit of code later this week when I pick up my mini.  (I naively thought I could write the C++ game engine in Visual Studio.)</description>
		<content:encoded><![CDATA[<p>@Claus Hoefele</p>
<p>No stl?  Yikes.  That&#8217;s &#8230;not good.  I&#8217;m going to have to refactor quite a bit of code later this week when I pick up my mini.  (I naively thought I could write the C++ game engine in Visual Studio.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claus Hoefele</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-745</link>
		<dc:creator>Claus Hoefele</dc:creator>
		<pubDate>Mon, 05 Jan 2009 10:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-745</guid>
		<description>Because you mentioned the fixed-function PowerVR chip: I wonder if you mostly use fixed-point math or if the iPhone is fast enough with floating-point calculations.

I find the lack of common basic types such as float and stl::vector makes it difficult to share code between game engines for Windows/Mac and smartphones. 

Last time I looked, Wolfgang Engel&#039;s Oolong Engine makes heavy use of floating-point math and he also uses USTL, see http://www.oolongengine.com/, but I somewhat doubt the performance beyond simple demos.

I&#039;d be interested in reading your thoughts about cross-platform development or whether you see your iPhone games as completely separate implementations.</description>
		<content:encoded><![CDATA[<p>Because you mentioned the fixed-function PowerVR chip: I wonder if you mostly use fixed-point math or if the iPhone is fast enough with floating-point calculations.</p>
<p>I find the lack of common basic types such as float and stl::vector makes it difficult to share code between game engines for Windows/Mac and smartphones. </p>
<p>Last time I looked, Wolfgang Engel&#8217;s Oolong Engine makes heavy use of floating-point math and he also uses USTL, see <a href="http://www.oolongengine.com/" rel="nofollow">http://www.oolongengine.com/</a>, but I somewhat doubt the performance beyond simple demos.</p>
<p>I&#8217;d be interested in reading your thoughts about cross-platform development or whether you see your iPhone games as completely separate implementations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Scrivner</title>
		<link>http://gamesfromwithin.com/iphone-from-a-game-developers-perspective-the-iphone-api/comment-page-1#comment-744</link>
		<dc:creator>Eric Scrivner</dc:creator>
		<pubDate>Mon, 05 Jan 2009 07:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://gamesfromwithin.com/?p=225#comment-744</guid>
		<description>Great article, I&#039;ve recently started Cocoa and iPhone development myself and it&#039;s good to read the opinions of someone else as well.  Keep the good articles a-comin&#039; :)</description>
		<content:encoded><![CDATA[<p>Great article, I&#8217;ve recently started Cocoa and iPhone development myself and it&#8217;s good to read the opinions of someone else as well.  Keep the good articles a-comin&#8217; <img src='http://gamesfromwithin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

