<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Tech Thought</title>
	
	<link>http://blog.evandavey.com</link>
	<description>Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX</description>
	<lastBuildDate>Fri, 10 Jul 2009 01:21:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/EvsTechThoughtOfTheDay" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>iPhone: Bugged UINavigationController? View doesn’t Scroll.</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/mNWHSanFXSI/bugged-navigation-view-stuck.html</link>
		<comments>http://blog.evandavey.com/2009/07/bugged-navigation-view-stuck.html#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:19:27 +0000</pubDate>
		<dc:creator>damien.wilmann</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Stuck]]></category>
		<category><![CDATA[UINavigationController]]></category>
		<category><![CDATA[UIView]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=524</guid>
		<description><![CDATA[Developing a networked iPhone application, I had two views that were very similar &#8211; so similar in fact that they were copies of one-another with &#8220;Sending&#8221; renamed to &#8220;Receiving&#8221;. The idea was to get them both working with different XIB files, and then modify them.
The code to load the sending view (from the main app [...]]]></description>
			<content:encoded><![CDATA[<p>Developing a networked iPhone application, I had two views that were very similar &#8211; so similar in fact that they were copies of one-another with &#8220;Sending&#8221; renamed to &#8220;Receiving&#8221;. The idea was to get them both working with different XIB files, and then modify them.</p>
<p>The code to load the sending view (from the main app delegate) was:</p>
<pre>- (IBAction)sendContact:(id)sender
{
	DataController* dc = [DataController sharedInstance];
	dc.contactRecord = (NSMutableDictionary*) [self.userDefaults dictionaryForKey:@"currentUser"];

	SendingViewController *sendingViewController = [[SendingViewController alloc] initWithNibName:@"ReceiverView" bundle:nil];
	[self setBackButtonText:@"Back"];
	[self.navigationController pushViewController:sendingViewController animated:YES];
	[sendingViewController release];
}</pre>
<p>The code for the receiving view was:</p>
<pre>- (IBAction)receiveContact:(id)sender
{
	ReceivingViewController *receiverViewController = [[ReceivingViewController alloc] initWithNibName:@"ReceivingView" bundle:nil];
	[self setBackButtonText:@"Back"];
	[self.navigationController pushViewController:receiverViewController animated:YES];
	[receiverViewController release];
}</pre>
<p>On load, I could _swear_ that nothing happend with the DataController&#8217;s contact record. But something screwy was going on. When I hit &#8220;send&#8221; first  (on app launch), hitting &#8220;receive&#8221; worked fine (you could navigate back with no worries at all). However, when you hit &#8220;receive&#8221; first, going back only got the navigation bar to change, while the receive view was still visible.</p>
<p>It took ages, but setting contactRecord in the DataController shared instance fixed the problem.</p>
<p>The thing is, the view loaded just fine, no worries at all. No errors or warnings occured&#8230; and I wasn&#8217;t using contactRecord for anything on the view. So why did it behave like it encountered an error? I searched the code, and I was setting a label (which didn&#8217;t even exist on-screen anymore, it was an unused IBOutlet UILabel) to something contained in the DataController. Why it didn&#8217;t error properly, and why that stopped the view from unloading properly is completely beyond me&#8230; The NavigationBar operates (somewhat) in isolation from the views inside it, so if a view gets stuck (but not the Nav control) you can find yourself in a very weird situation.</p>
<p>So, my advice to you is:</p>
<ul>
<li>It ain&#8217;t the same until it&#8217;s _exactly_ the same.</li>
<li>Just because it doesn&#8217;t error, doesn&#8217;t mean it hasn&#8217;t produced an error.</li>
<li>If you can at all avoid it, don&#8217;t copy paste entire files. Best to start empty and include the stuff you need instead.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/07/bugged-navigation-view-stuck.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/07/bugged-navigation-view-stuck.html</feedburner:origLink></item>
		<item>
		<title>How-To Fix: MAMP won’t start</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/8mwavWiGXZ8/how-to-fix-mamp-wont-start.html</link>
		<comments>http://blog.evandavey.com/2009/06/how-to-fix-mamp-wont-start.html#comments</comments>
		<pubDate>Sat, 13 Jun 2009 03:10:18 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[MAMP]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=512</guid>
		<description><![CDATA[Okay, so sometimes our shiny friend and development support buddy MAMP won&#8217;t start properly.  I&#8217;ve found this often happens when you&#8217;ve first booted up your Mac and you try to start getting stuck into your code.
Symptoms are pretty simple to diagnose &#8211; you start MAMP, and it&#8217;s control panel pops up and shows that everything is [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so sometimes our shiny friend and development support buddy <a href="http://www.mamp.info" target="_blank">MAMP</a> won&#8217;t start properly.  I&#8217;ve found this often happens when you&#8217;ve first booted up your Mac and you try to start getting stuck into your code.</p>
<p>Symptoms are pretty simple to diagnose &#8211; you start MAMP, and it&#8217;s control panel pops up and shows that everything is running:</p>
<p><img class="alignnone size-full wp-image-514" title="MAMP Control Panel" src="http://blog.evandavey.com/wp-content/uploads/2009/06/picture-2.png" alt="MAMP Control Panel" width="297" height="241" /></p>
<p>But for some reason you can&#8217;t access your webserver or database:</p>
<p><img class="alignnone size-full wp-image-515" title="MAMP not working" src="http://blog.evandavey.com/wp-content/uploads/2009/06/picture-3.png" alt="MAMP not working" width="386" height="101" /></p>
<p>What to do?  Restarting the servers generally doesn&#8217;t solve the problem.  However, there is a trick I&#8217;ve discovered.  Open up the control panel and click the &#8220;Preferences&#8230;&#8221; button.  Once this popups up, choose the &#8220;Ports&#8221; tab, change nothing &#8211; and click OK:</p>
<p><img class="alignnone size-full wp-image-513" title="MAMP Preferences Pane" src="http://blog.evandavey.com/wp-content/uploads/2009/06/picture-1.png" alt="MAMP Preferences Pane" width="253" height="168" /></p>
<p>MAMP will automatically restart &#8211; and you should be up and running!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/06/how-to-fix-mamp-wont-start.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/06/how-to-fix-mamp-wont-start.html</feedburner:origLink></item>
		<item>
		<title>WWDC 2009 Update: Keynote Summary for iPhone</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/A40OTjuTnWw/wwdc-2009-update-keynote-summary-for-iphone.html</link>
		<comments>http://blog.evandavey.com/2009/06/wwdc-2009-update-keynote-summary-for-iphone.html#comments</comments>
		<pubDate>Mon, 08 Jun 2009 19:46:28 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=506</guid>
		<description><![CDATA[WWDC: Today&#8217;s keynote included many things we already knew about the iPhone, and few things we didn&#8217;t. Here&#8217;s a quick summary from the team at WSP Online &#8211; on site at the Keynote in Moscone Center, San Francisco CA.

New announcements include:
New Device &#8211; iPhone 3G S &#8211; 2x faster iPhone with new hardware features including:

3-mega [...]]]></description>
			<content:encoded><![CDATA[<p>WWDC: Today&#8217;s keynote included many things we already knew about the iPhone, and few things we didn&#8217;t. Here&#8217;s a quick summary from the team at <a href="http://www.wspeonline.com" target="_blank">WSP Online</a> &#8211; on site at the Keynote in Moscone Center, San Francisco CA.</p>
<p><span id="more-506"></span></p>
<h3><strong>New announcements include:</strong></h3>
<p><strong>New Device &#8211; iPhone 3G S</strong> &#8211; 2x faster iPhone with new hardware features including:</p>
<ul>
<li><strong>3-mega pixel camera</strong>
<ul>
<li>&#8220;Touch&#8221; focus technology &#8211; touch a part of the screen to auto focus</li>
<li>Auto focus</li>
<li>Auto white balance</li>
<li>Auto low light adjustment</li>
<li>Auto macro support (10cm distance)</li>
</ul>
</li>
<li><strong>Built-in compass support</strong>
<ul>
<li>Compass app showing your bearing from true north, magnetic north</li>
<li>Maps app support &#8211; double tab location to rotate map and show relative to your currently location</li>
</ul>
</li>
<li><strong>Video Recording Support</strong>
<ul>
<li>Video editing &#8211; easily slice up recorded video with preview of timeline</li>
<li>Video sharing &#8211; one touch sharing via MMS/YouTube/Email/MobileMe</li>
</ul>
</li>
<li><strong>Voice support</strong>
<ul>
<li>Depress home button for 1 second from any app to activate</li>
<li>Voice dial contacts from address book</li>
<li>Voice activate songs from artists/playlists</li>
</ul>
</li>
<li><strong>Nike+ Support</strong></li>
<li><strong>Faster processsor &#8211; </strong>at least 2x faster than previous iPhone 3G</li>
<li><strong>$199 for iPhone 3G S</strong></li>
<li><strong>$99 for iPhone 3G (US Pricing)</strong></li>
<li><strong>On Sale June 19<br />
</strong></li>
</ul>
<h3>Existing Announcements Clarified:</h3>
<ul>
<li>iPhone 3.0 software released to general public <strong>15th June, 2009</strong></li>
<li>WWDC Developers given access <strong>today (8th June, 2009)</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/06/wwdc-2009-update-keynote-summary-for-iphone.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/06/wwdc-2009-update-keynote-summary-for-iphone.html</feedburner:origLink></item>
		<item>
		<title>The Hidden Park: iPhone gaming to get your kids off the couch</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/i4TUlIcj3OY/the-hidden-park-iphone-gaming-to-get-your-kids-off-the-couch.html</link>
		<comments>http://blog.evandavey.com/2009/05/the-hidden-park-iphone-gaming-to-get-your-kids-off-the-couch.html#comments</comments>
		<pubDate>Sat, 30 May 2009 00:12:58 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[adventure]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[kids games]]></category>
		<category><![CDATA[the hidden park]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=495</guid>
		<description><![CDATA[Bulpadok has just published The Hidden Park, an adventure game with a difference &#8211; you!  Developed in association with WSP Online Solutions, and Conduct, The Hidden Park uses the iPhone&#8217;s GPS to immerse you in a world within your local park (currently 10 parks around the world are supported, with more promised).  Using the accelerometer, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bulpadok.com" target="_blank">Bulpadok</a> has just published <a href="http://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/browserRedirect?url=itms%253A%252F%252Fax.itunes.apple.com%252FWebObjects%252FMZStore.woa%252Fwa%252FviewSoftware%253Fid%253D314518306%2526mt%253D8" target="_blank">The Hidden Park</a>, an adventure game with a difference &#8211; you!  Developed in association with <a href="http://www.wspeonline.com/solutions/iphone.html" target="_blank">WSP Online Solutions</a>, and <a href="http://www.conducthq.com" target="_blank">Conduct</a>, The Hidden Park uses the iPhone&#8217;s GPS to immerse you in a world within your local park (currently 10 parks around the world are supported, with more promised).  Using the accelerometer, camera, GPS and touch screen, The Hidden Park fully utilises all capabilities of the iPhone.</p>
<p><img class="alignnone size-full wp-image-496" title="Hidden Park iPhone Screenshot" src="http://blog.evandavey.com/wp-content/uploads/2009/05/iphone.png" alt="Hidden Park iPhone Screenshot" width="458" height="207" /></p>
<p>As you navigate throughout the park, you receive instructions from a character called &#8216;Trutton&#8217; and learn that the park is in trouble.  Your challenge is to help Trutton save the park before its too late by navigating the park, solving puzzles and interacting with characters throughout.  The game provides a beautifully illustrated map of the park, with your location being represented by an Avatar, who moves as you move around the map.</p>
<p>Gameplay takes about an hour to complete, making the game an ideal day out for families, and provides a perfect opportunity to get the kids off the couch and out exploring a magical world in their local park.  Currently the Hidden Park supports the following locations:</p>
<ul>
<li>Melbourne Botanical Gardens, Australia</li>
<li>Sydney Botanical Gardens, Australia</li>
<li>High Park, Toronto, Canada</li>
<li>Boston Common, Boston, USA</li>
<li>Central Park, New York, USA</li>
<li>Kensington Gardens, London, UK</li>
<li>Tokyo Ueno Park, Tokyo, Japan</li>
<li>Englischer Garten, Munich, Germany</li>
<li>Zoological and Botanical Gardens, Hong Kong</li>
</ul>
<p>The Hidden Park is available on the App Store for $6.99 and comes highly recommended.</p>
<p>More information is available at <a href="http://www.thehiddenpark.com" target="_blank">TheHiddenPark.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/05/the-hidden-park-iphone-gaming-to-get-your-kids-off-the-couch.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/05/the-hidden-park-iphone-gaming-to-get-your-kids-off-the-couch.html</feedburner:origLink></item>
		<item>
		<title>BudTrap: An easy way to solve iPhone/iPod headphone tangles</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/CI9M_PCfPvQ/budtrap-an-easy-way-to-solve-iphoneipod-headphone-tangles.html</link>
		<comments>http://blog.evandavey.com/2009/05/budtrap-an-easy-way-to-solve-iphoneipod-headphone-tangles.html#comments</comments>
		<pubDate>Fri, 29 May 2009 23:45:51 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[budtrap]]></category>
		<category><![CDATA[headphones]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPod]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=489</guid>
		<description><![CDATA[The guys at BudTrap have a great idea.  Create a device, which clips into your iPhone/iPod, stops your headphone getting tangled, and costs just $5 &#8211; with $1 being donated to charity.  On top of which, you get 5 additional &#8220;buddy&#8221; devices which you can share with your friends.

They are also into working out how [...]]]></description>
			<content:encoded><![CDATA[<p>The guys at <a href="http://www.budtrap.com" target="_blank">BudTrap</a> have a great idea.  Create a device, which clips into your iPhone/iPod, stops your headphone getting tangled, and costs just $5 &#8211; with $1 being donated to charity.  On top of which, you get 5 additional &#8220;buddy&#8221; devices which you can share with your friends.</p>
<p><img class="alignnone size-full wp-image-492" title="BudTrap In Use" src="http://blog.evandavey.com/wp-content/uploads/2009/05/picture-4.png" alt="BudTrap In Use" width="156" height="223" /></p>
<p>They are also into working out how much time you save by using their device &#8211; which they use as a global tally to show how much time the world is saving by removing the need to untangle headphones.</p>
<p>This is a really novel idea and a cool device.  Head over to <a href="http://budtrap.com" target="_blank">BudTrap.com</a> now to start saving your tangle time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/05/budtrap-an-easy-way-to-solve-iphoneipod-headphone-tangles.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/05/budtrap-an-easy-way-to-solve-iphoneipod-headphone-tangles.html</feedburner:origLink></item>
		<item>
		<title>NRL Live on your iPhone – Finally!</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/iRTcx8W1Csc/nrl-live-on-your-iphone-finally.html</link>
		<comments>http://blog.evandavey.com/2009/04/nrl-live-on-your-iphone-finally.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:53:41 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[NRL]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=479</guid>
		<description><![CDATA[I&#8217;m not sure about you, but we&#8217;re well into the 2009 NRL season and the lack of a decent dedicated NRL app has been something that has bugged me.  The AFL has had dedicated iPhone Apps since the start of the season, while the NRL has been stuck with rubbish apps that simply link to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure about you, but we&#8217;re well into the 2009 NRL season and the lack of a decent dedicated NRL app has been something that has bugged me.  The AFL has had <a href="http://www.wspeonline.com/footy" target="_blank">dedicated</a> iPhone Apps since the start of the season, while the NRL has been stuck with rubbish apps that simply link to websites.</p>
<p>Finally, WSP Online has released <a href="http://www.wspeonline.com/league" target="_blank">League 2009 &#8211; NRL</a>.  This provides the same beautiful interface as their successful <a href="http://www.wspeonline.com/footy" target="_blank">Footy 2009</a> app, along with live coverage of the NRL season including:</p>
<ul>
<li>Live Scores for all games in the 2009 NRL season</li>
<li>News &#8211; with the fully article viewable inside the App, fully licensed by the ABC</li>
<li>Fixture &#8211; full fixture with game time and venue</li>
<li>Ladder &#8211; ladder is updated live after each game</li>
</ul>
<p>See screen shots below:</p>
<p><img class="alignnone size-medium wp-image-480" title="img_0030" src="http://blog.evandavey.com/wp-content/uploads/2009/04/img_0030-200x300.png" alt="img_0030" width="200" height="300" /> <img class="alignnone size-medium wp-image-481" title="img_0029" src="http://blog.evandavey.com/wp-content/uploads/2009/04/img_0029-200x300.png" alt="img_0029" width="200" height="300" /></p>
<p><img class="alignnone size-medium wp-image-483" title="img_0033" src="http://blog.evandavey.com/wp-content/uploads/2009/04/img_0033-200x300.png" alt="img_0033" width="200" height="300" /> <img class="alignnone size-medium wp-image-482" title="img_0028" src="http://blog.evandavey.com/wp-content/uploads/2009/04/img_0028-200x300.png" alt="img_0028" width="200" height="300" /></p>
<p>It sells for $3.99 in the <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=312944980&amp;mt=8">App Store</a> and is well worth the purchase price.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/04/nrl-live-on-your-iphone-finally.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/04/nrl-live-on-your-iphone-finally.html</feedburner:origLink></item>
		<item>
		<title>How-To: Move change the address of a SVN repository</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/eDc1wIe7nDU/how-to-move-change-the-address-of-a-svn-repository.html</link>
		<comments>http://blog.evandavey.com/2009/04/how-to-move-change-the-address-of-a-svn-repository.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:46:19 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=477</guid>
		<description><![CDATA[So you&#8217;ve changed where you host your subversion repository for a particular project and you want to update your local copy so that it points at the correct address?   How do you do this?  Simple:
svn switch --relocate http://oldserver.com/PROJECT 
                  [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve changed where you host your subversion repository for a particular project and you want to update your local copy so that it points at the correct address?   How do you do this?  Simple:</p>
<pre>svn switch --relocate http://oldserver.com/PROJECT 
                      http://newserver.com/PROJECT</pre>
<p>This will recursively modify all the .svn folders contents so they point to the correct location.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/04/how-to-move-change-the-address-of-a-svn-repository.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/04/how-to-move-change-the-address-of-a-svn-repository.html</feedburner:origLink></item>
		<item>
		<title>How-To: Detect if users have turned off the iPhone GPS</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/sVzC-82xqTM/how-to-detect-if-users-have-turned-off-the-iphone-gps.html</link>
		<comments>http://blog.evandavey.com/2009/04/how-to-detect-if-users-have-turned-off-the-iphone-gps.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:43:56 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=475</guid>
		<description><![CDATA[Simple and common situation.  You have an app that needs to use the GPS to function correctly.  However, users have the last say in this and can simply say &#8220;No&#8221; when the iPhone asks them if your application asks to turn on the GPS.  If you don&#8217;t deal with this situation, then it&#8217;s likely that [...]]]></description>
			<content:encoded><![CDATA[<p>Simple and common situation.  You have an app that needs to use the GPS to function correctly.  However, users have the last say in this and can simply say &#8220;No&#8221; when the iPhone asks them if your application asks to turn on the GPS.  If you don&#8217;t deal with this situation, then it&#8217;s likely that Apple will reject your application.</p>
<p>So what to do?  Simple, implement the following CLLocationManager delegate method:</p>
<pre>- (void)locationManager:(CLLocationManager *)manager
       didFailWithError:(NSError *)error</pre>
<p>Inside this method, make sure you deal with not receiving any GPS locations in a sensible manner (show a popup, skip etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/04/how-to-detect-if-users-have-turned-off-the-iphone-gps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/04/how-to-detect-if-users-have-turned-off-the-iphone-gps.html</feedburner:origLink></item>
		<item>
		<title>A solution to: Application failed codesign verification</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/EP6ol5U4hrM/a-solution-to-application-failed-codesign-verification.html</link>
		<comments>http://blog.evandavey.com/2009/04/a-solution-to-application-failed-codesign-verification.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:40:28 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[app submission]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=473</guid>
		<description><![CDATA[Okay, so you&#8217;ve spent months working hard on your iPhone project, and you finally go gold.  You get sign off from your client, you&#8217;ve squashed the last of your bugs and you think &#8220;I&#8217;m ready to submit this bad boy!&#8221;.  You package it up for release as per Apple&#8217;s instructions, and then try and upload [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so you&#8217;ve spent months working hard on your iPhone project, and you finally go gold.  You get sign off from your client, you&#8217;ve squashed the last of your bugs and you think &#8220;I&#8217;m ready to submit this bad boy!&#8221;.  You package it up for release as per Apple&#8217;s instructions, and then try and upload it using the <a href="http://iphonedevelopertips.com/tools/application-loader.html" target="_blank">Application Loader</a> that Apple supplies.</p>
<p><span id="more-473"></span></p>
<p>Then you get a message from the Application Loader:</p>
<p><em>Application failed codesign verification. </em></p>
<p><em></em>What the??  If you check the activity log you also see the following:</p>
<p><em>A sealed resource is missing or invalid</em></p>
<p>After countless hours trawling Google and finding nothing, I worked out that I needed to do two things:</p>
<ol>
<li>Remove all files from the project that started with ._ (dot then underscore).  See my <a href="http://blog.evandavey.com/2008/05/removing-mac-_-files-on-linux.html">previous post</a> for more, however you just open the terminal and run <strong>find . -name &#8220;._*&#8221; -print0 | xargs -0 rm -rf </strong>from the command line in the root of the project</li>
<li>Make sure that the Icon File setting in the info.plist file is empty</li>
</ol>
<p>After making these two changes, and rebuilding my project (make sure you do a &#8220;clean all&#8221;) it submitted to Apple without problem.  I really hope that helps someone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/04/a-solution-to-application-failed-codesign-verification.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/04/a-solution-to-application-failed-codesign-verification.html</feedburner:origLink></item>
		<item>
		<title>How To: Fix iCal slowness</title>
		<link>http://feedproxy.google.com/~r/EvsTechThoughtOfTheDay/~3/zyATEucOW18/how-to-fix-ical-slowness.html</link>
		<comments>http://blog.evandavey.com/2009/04/how-to-fix-ical-slowness.html#comments</comments>
		<pubDate>Tue, 14 Apr 2009 05:51:14 +0000</pubDate>
		<dc:creator>Ev</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[speed problems]]></category>

		<guid isPermaLink="false">http://blog.evandavey.com/?p=471</guid>
		<description><![CDATA[So you&#8217;ve been using iCal for a while, and suddenly it starts working very slowly&#8230; One solution I found was to remove your calendar from your computer and let iCal download it from your server (ONLY use this if you use server based calendars):
Open terminal and type: rm -r ~/Library/Calendars/
Various solutions are discussed here.
]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve been using iCal for a while, and suddenly it starts working very slowly&#8230; One solution I found was to remove your calendar from your computer and let iCal download it from your server (ONLY use this if you use server based calendars):</p>
<p>Open terminal and type: <strong>rm -r ~/Library/Calendars/</strong></p>
<p>Various solutions are discussed <a href="http://discussions.apple.com/thread.jspa?threadID=1399643&amp;tstart=0" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evandavey.com/2009/04/how-to-fix-ical-slowness.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.evandavey.com/2009/04/how-to-fix-ical-slowness.html</feedburner:origLink></item>
	</channel>
</rss>
