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

<channel>
	<title>Dave Mitchell</title>
	<atom:link href="http://blog.lightvoid.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lightvoid.net</link>
	<description>Mobile Development</description>
	<pubDate>Thu, 21 May 2009 14:00:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Learning OpenGL</title>
		<link>http://blog.lightvoid.net/2009/05/21/learning-opengl/</link>
		<comments>http://blog.lightvoid.net/2009/05/21/learning-opengl/#comments</comments>
		<pubDate>Thu, 21 May 2009 13:58:39 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[OpenGL]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=78</guid>
		<description><![CDATA[Jeff LaMarche (who&#8217;s blog you should definitely be following), has posted some useful intro tutorials on OpenGL.
You might find them useful if your new to OpenGL and trying to get to grips with it.
Check them out here.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://iphonedevelopment.blogspot.com">Jeff LaMarche</a> (who&#8217;s blog you should definitely be following), has posted some useful intro tutorials on OpenGL.</p>
<p>You might find them useful if your new to OpenGL and trying to get to grips with it.</p>
<p>Check them out <a href="http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/05/21/learning-opengl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>F1 Insider now available!</title>
		<link>http://blog.lightvoid.net/2009/04/08/f1-insider-now-available/</link>
		<comments>http://blog.lightvoid.net/2009/04/08/f1-insider-now-available/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 09:01:12 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[F1]]></category>

		<category><![CDATA[Formula 1]]></category>

		<category><![CDATA[GP]]></category>

		<category><![CDATA[Grand Prix]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/2009/04/08/f1-insider-now-available/</guid>
		<description><![CDATA[F1 Insider, our latest iPhone app for Formula 1 has just been released!
Check it out: http://www.f1insider.co.uk/download/
]]></description>
			<content:encoded><![CDATA[<p>F1 Insider, our latest iPhone app for Formula 1 has just been released!</p>
<p>Check it out: <a href="http://www.f1insider.co.uk/download/">http://www.f1insider.co.uk/download/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/04/08/f1-insider-now-available/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Formula 1 2009 Season is coming!</title>
		<link>http://blog.lightvoid.net/2009/03/19/the-formula-1-2009-season-is-coming/</link>
		<comments>http://blog.lightvoid.net/2009/03/19/the-formula-1-2009-season-is-coming/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 18:05:12 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=72</guid>
		<description><![CDATA[We just submitted F1 Insider to Apple, so it should hopefully be available for purchase on the App Store early next week.
F1 Insider brings all the latest information on the 2009 Formula 1&#8482; Season to your finger tips. Follow the F1 Insider team as we go through what looks set to be the most exciting [...]]]></description>
			<content:encoded><![CDATA[<p>We just submitted F1 Insider to Apple, so it should hopefully be available for purchase on the App Store early next week.</p>
<p>F1 Insider brings all the latest information on the 2009 Formula 1&trade; Season to your finger tips. Follow the F1 Insider team as we go through what looks set to be the most exciting Formula 1&trade; World Championship to date! </p>
<p>You can find more information at the official website: <a href="http://www.f1insider.co.uk">http://www.f1insider.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/03/19/the-formula-1-2009-season-is-coming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Redline released</title>
		<link>http://blog.lightvoid.net/2009/03/04/redline-released/</link>
		<comments>http://blog.lightvoid.net/2009/03/04/redline-released/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:31:05 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=70</guid>
		<description><![CDATA[We&#8217;ve just released Redline, our first iPhone app based on our own IP.
Check it out on the AppStore!
]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just released <a href="http://www.greenius.ltd.uk/apps/redline/">Redline</a>, our first iPhone app based on our own IP.</p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=306391686&#038;mt=8">Check it out on the AppStore!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/03/04/redline-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone Ad Hoc Code signing Gotchas</title>
		<link>http://blog.lightvoid.net/2009/02/25/iphone-ad-hoc-code-signing-gotchas/</link>
		<comments>http://blog.lightvoid.net/2009/02/25/iphone-ad-hoc-code-signing-gotchas/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 10:53:27 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=67</guid>
		<description><![CDATA[Theres a few gotchas with code signing which I&#8217;ve found can result in errors when installing an Ad Hoc application onto a user&#8217;s iPhone through iTunes, usually of the sort: &#8220;Application Redline was unable to be installed on the iPhone (Mitch iPhone) because it could not be verified&#8221;.
This error is really a generic error that [...]]]></description>
			<content:encoded><![CDATA[<p>Theres a few gotchas with code signing which I&#8217;ve found can result in errors when installing an Ad Hoc application onto a user&#8217;s iPhone through iTunes, usually of the sort: &#8220;Application Redline was unable to be installed on the iPhone (Mitch iPhone) because it could not be verified&#8221;.</p>
<p>This error is really a generic error that says the iPhone could not verify the code signature, and so didn&#8217;t complete installing.</p>
<p>Things to double check:</p>
<ol>
<li>Bundle Identifier is correct and matches with the one selected in the Provisioning Profile.</li>
<li>The deviceID has been correctly added to the Provisioning Profile.</li>
<li>The Entitlements.plist file has been added to the project (see the howto doc on Distribution profiles). This is what catches most people out, since you don&#8217;t need it for development.</li>
<li>Ensure the get-task-allow check box is unticked in the Entitlements.plist</li>
<li>The Provisioning Profile has been dragged into iTunes as well as the .app or .ipa file.</li>
</ol>
<p>Also, for AdHoc distribution, I&#8217;d recommend packaging up the .app as an ipa file. This is better compatability for windows, because a .app file is a just a folder, and it also allows the iTunesArtwork to be displayed.</p>
<p>At Greenius we use a simple script to package up an AdHoc build. Note you should edit the variables at the top for the appname and the build folder. Later I plan to update this so its a bit more flexible and can take the options from the command line. It also expects a iTunesArtwork.png file for the iTunesArtwork, which should be a 512&#215;512 png.</p>
<p><a href="http://blog.lightvoid.net/wp-content/uploads/2009/02/adhocpackage">Download adhocpackage script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/02/25/iphone-ad-hoc-code-signing-gotchas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamic multi-line UILabel</title>
		<link>http://blog.lightvoid.net/2009/01/07/dynamic-multi-line-uilabel/</link>
		<comments>http://blog.lightvoid.net/2009/01/07/dynamic-multi-line-uilabel/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 16:00:18 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[UILabel]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=65</guid>
		<description><![CDATA[Quick tip if you want a dynamic multi-line UILabel (i.e you don&#8217;t know how many lines there will be), just use this:
myLabel.numberOfLines = 0;
Easy!
]]></description>
			<content:encoded><![CDATA[<p>Quick tip if you want a dynamic multi-line UILabel (i.e you don&#8217;t know how many lines there will be), just use this:</p>
<blockquote><p>myLabel.numberOfLines = 0;</p></blockquote>
<p>Easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/01/07/dynamic-multi-line-uilabel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strange IB error</title>
		<link>http://blog.lightvoid.net/2009/01/06/strange-ib-error/</link>
		<comments>http://blog.lightvoid.net/2009/01/06/strange-ib-error/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 20:22:26 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[IBOutlet]]></category>

		<category><![CDATA[interface builder]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=61</guid>
		<description><![CDATA[Just a tip, if you are using IBOutlets and seperate nib files, if you get a strange error like this:
*** Terminating app due to uncaught exception &#8216;NSUnknownKeyException&#8217;, reason: &#8216;[&#60;UIViewController 0x44e8b0&#62; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key viewA.&#8217;
Check that the controller class is set correctly for both the Controller in the [...]]]></description>
			<content:encoded><![CDATA[<p>Just a tip, if you are using IBOutlets and seperate nib files, if you get a strange error like this:</p>
<blockquote><p>*** Terminating app due to uncaught exception &#8216;NSUnknownKeyException&#8217;, reason: &#8216;[&lt;UIViewController 0x44e8b0&gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key viewA.&#8217;</p></blockquote>
<p>Check that the controller class is set correctly for both the Controller in the main file, and the File Owner in the Nib file you are referencing.</p>
<p>This error seems to happen when you link a nib file to a controller in IB, and the class types do not match. Strangley the error only happens when you link an IBOutlet inside that controller though!</p>
<p>This thread describes the problem and solution a little:</p>
<p><a href="http://forums.macrumors.com/archive/index.php/t-576991.html">http://forums.macrumors.com/archive/index.php/t-576991.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2009/01/06/strange-ib-error/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone UIFont List</title>
		<link>http://blog.lightvoid.net/2008/11/02/iphone-uifont-list/</link>
		<comments>http://blog.lightvoid.net/2008/11/02/iphone-uifont-list/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 16:59:42 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[UIFont]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=56</guid>
		<description><![CDATA[Here is a list of fonts available on the iPhone with UIFont.
Font Family: American Typewriter
Font: AmericanTypewriter
Font: AmericanTypewriter-Bold
Font Family: AppleGothic
Font: AppleGothic
Font Family: Arial
Font: ArialMT
Font: Arial-BoldMT
Font: Arial-BoldItalicMT
Font: Arial-ItalicMT
Font Family: Arial Rounded MT Bold
Font: ArialRoundedMTBold
Font Family: Arial Unicode MS
Font: ArialUnicodeMS
Font Family: Courier
Font: Courier
Font: Courier-BoldOblique
Font: Courier-Oblique
Font: Courier-Bold
Font Family: Courier New
Font: CourierNewPS-BoldMT
Font: CourierNewPS-ItalicMT
Font: CourierNewPS-BoldItalicMT
Font: CourierNewPSMT
Font Family: DB LCD Temp
Font: DBLCDTempBlack
Font [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of fonts available on the iPhone with UIFont.</p>
<p><strong>Font Family: American Typewriter</strong><br />
Font: AmericanTypewriter<br />
Font: AmericanTypewriter-Bold</p>
<p><strong>Font Family: AppleGothic</strong><br />
Font: AppleGothic</p>
<p><strong>Font Family: Arial</strong><br />
Font: ArialMT<br />
Font: Arial-BoldMT<br />
Font: Arial-BoldItalicMT<br />
Font: Arial-ItalicMT</p>
<p><strong>Font Family: Arial Rounded MT Bold</strong><br />
Font: ArialRoundedMTBold</p>
<p><strong>Font Family: Arial Unicode MS</strong><br />
Font: ArialUnicodeMS</p>
<p><strong>Font Family: Courier</strong><br />
Font: Courier<br />
Font: Courier-BoldOblique<br />
Font: Courier-Oblique<br />
Font: Courier-Bold</p>
<p><strong>Font Family: Courier New</strong><br />
Font: CourierNewPS-BoldMT<br />
Font: CourierNewPS-ItalicMT<br />
Font: CourierNewPS-BoldItalicMT<br />
Font: CourierNewPSMT</p>
<p><strong>Font Family: DB LCD Temp</strong><br />
Font: DBLCDTempBlack</p>
<p><strong>Font Family: Georgia</strong><br />
Font: Georgia-Bold<br />
Font: Georgia<br />
Font: Georgia-BoldItalic<br />
Font: Georgia-Italic</p>
<p><strong>Font Family: Helvetica</strong><br />
Font: Helvetica-Oblique<br />
Font: Helvetica-BoldOblique<br />
Font: Helvetica<br />
Font: Helvetica-Bold</p>
<p><strong>Font Family: Helvetica Neue</strong><br />
Font: HelveticaNeue<br />
Font: HelveticaNeue-Bold</p>
<p><strong>Font Family: Hiragino Kaku Gothic ProN W3</strong><br />
Font: HiraKakuProN-W3</p>
<p><strong>Font Family: Hiragino Kaku Gothic ProN W6</strong><br />
Font: HiraKakuProN-W6</p>
<p><strong>Font Family: Marker Felt</strong><br />
Font: MarkerFelt-Thin</p>
<p><strong>Font Family: STHeiti J</strong><br />
Font: STHeitiJ-Medium<br />
Font: STHeitiJ-Light</p>
<p><strong>Font Family: STHeiti K</strong><br />
Font: STHeitiK-Medium<br />
Font: STHeitiK-Light</p>
<p><strong>Font Family: STHeiti SC</strong><br />
Font: STHeitiSC-Medium<br />
Font: STHeitiSC-Light</p>
<p><strong>Font Family: STHeiti TC</strong><br />
Font: STHeitiTC-Light<br />
Font: STHeitiTC-Medium</p>
<p><strong>Font Family: Times New Roman</strong><br />
Font: TimesNewRomanPSMT<br />
Font: TimesNewRomanPS-BoldMT<br />
Font: TimesNewRomanPS-BoldItalicMT<br />
Font: TimesNewRomanPS-ItalicMT</p>
<p><strong>Font Family: Trebuchet MS</strong><br />
Font: TrebuchetMS-Italic<br />
Font: TrebuchetMS<br />
Font: Trebuchet-BoldItalic<br />
Font: TrebuchetMS-Bold</p>
<p><strong>Font Family: Verdana</strong><br />
Font: Verdana-Bold<br />
Font: Verdana-BoldItalic<br />
Font: Verdana<br />
Font: Verdana-Italic</p>
<p><strong>Font Family: Zapfino</strong><br />
Font: Zapfino</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2008/11/02/iphone-uifont-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gotcha with Obj-C properties</title>
		<link>http://blog.lightvoid.net/2008/11/01/gotcha-with-obj-c-properties/</link>
		<comments>http://blog.lightvoid.net/2008/11/01/gotcha-with-obj-c-properties/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 08:37:02 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Objective C]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[Obj-C]]></category>

		<category><![CDATA[Properties]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=42</guid>
		<description><![CDATA[Properties in Objective-C can be quite useful sometimes, but you have to be careful because they don&#8217;t always work how you think they should. Here is a common gotcha among people new to Obj-C and properties.
Consider we have a class called Sprite, which has a property called position.
@interface Sprite : NSObject {
&#160;&#160;CGPoint position;
}
@property (readwrite) CGPoint [...]]]></description>
			<content:encoded><![CDATA[<p>Properties in Objective-C can be quite useful sometimes, but you have to be careful because they don&#8217;t always work how you think they should. Here is a common gotcha among people new to Obj-C and properties.</p>
<p>Consider we have a class called Sprite, which has a property called position.</p>
<blockquote><p>@interface Sprite : NSObject {<br />
&nbsp;&nbsp;CGPoint position;<br />
}</p>
<p>@property (readwrite) CGPoint position;</p>
<p>@end</p></blockquote>
<p>CGPoint is a struct with 2 int variables, x and y.</p>
<p>Lets create one:</p>
<blockquote><p>Sprite mySprite* = [[Sprite alloc] init];</p></blockquote>
<p>Now consider the situation of getting and setting the position.</p>
<p><strong>Getting</strong><br />
When you call this:</p>
<blockquote><p>CGPoint pos = mySprite.position;</p></blockquote>
<p>It is actually the same as:</p>
<blockquote><p>CGPoint pos = [mySprite position];</p></blockquote>
<p>Here its clear that <strong>pos</strong> is a copy of the position (its not a reference<br />
to the instance variable).</p>
<p><strong>Setting</strong><br />
When you can call:</p>
<blockquote><p>mySprite.position = pos;</p></blockquote>
<p>It is actually the same as:</p>
<blockquote><p>[mySprite setPosition:pos];</p></blockquote>
<p>OK this is probably fairly clear so far!</p>
<p><strong>The Gotcha</strong><br />
Now this is where the issue happens. </p>
<p>When you call this:</p>
<blockquote><p>mySprite.position.y = 99;</p></blockquote>
<p>It is actually the same as this:</p>
<blockquote><p>[mySprite position].y = 99;</p></blockquote>
<p>In this instance, the position variable of mySprite is not changed at all.</p>
<p>So when using properties, try to be aware of what Objective-C is actually doing behind the scenes :)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2008/11/01/gotcha-with-obj-c-properties/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deactivate iTunes account on iPhone</title>
		<link>http://blog.lightvoid.net/2008/10/24/deactivate-itunes-account-on-iphone/</link>
		<comments>http://blog.lightvoid.net/2008/10/24/deactivate-itunes-account-on-iphone/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 14:15:49 +0000</pubDate>
		<dc:creator>Dave Mitchell</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://blog.lightvoid.net/?p=40</guid>
		<description><![CDATA[Was having trouble figuring out how to deactivate the itunes account on the iPhone.
I finally figured it out though:
1. Plug in your iPhone into your computer.
2. Open up iTunes.
3. Sign out of iTunes account on your computer (on Mac, this is under the Store menu).
]]></description>
			<content:encoded><![CDATA[<p>Was having trouble figuring out how to deactivate the itunes account on the iPhone.</p>
<p>I finally figured it out though:</p>
<p>1. Plug in your iPhone into your computer.<br />
2. Open up iTunes.<br />
3. Sign out of iTunes account on your computer (on Mac, this is under the Store menu).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lightvoid.net/2008/10/24/deactivate-itunes-account-on-iphone/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
