<?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>[blog retain]; [blog release];</title>
	<atom:link href="http://www.retainrelease.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.retainrelease.com/blog</link>
	<description>Objective-C / Cocoa programming tips, tricks, rants, discussion</description>
	<lastBuildDate>Thu, 18 Feb 2010 22:45:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Snaps of Colnago</title>
		<link>http://www.retainrelease.com/blog/?p=33</link>
		<comments>http://www.retainrelease.com/blog/?p=33#comments</comments>
		<pubDate>Thu, 18 Feb 2010 22:45:23 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=33</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a href='http://www.retainrelease.com/blog/?attachment_id=34' title='img_4664'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4664-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4664" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=35' title='img_4665'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4665-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4665" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=36' title='img_4666'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4666-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4666" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=37' title='img_4667'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4667-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4667" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=38' title='img_4668'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4668-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4668" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=39' title='img_4669'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4669-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4669" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=40' title='img_4670'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4670-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4670" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=41' title='img_4671'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4671-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4671" /></a>
<a href='http://www.retainrelease.com/blog/?attachment_id=42' title='img_4672'><img width="150" height="150" src="http://www.retainrelease.com/blog/wp-content/uploads/2010/02/img_4672-150x150.jpg" class="attachment-thumbnail" alt="" title="img_4672" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Far too busy to blog!</title>
		<link>http://www.retainrelease.com/blog/?p=28</link>
		<comments>http://www.retainrelease.com/blog/?p=28#comments</comments>
		<pubDate>Sun, 08 Mar 2009 23:37:25 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=28</guid>
		<description><![CDATA[I&#8217;ve been busy coding away, releasing iPhone apps to get any blog posting done. I now have 5 apps on the store, with a couple more looking to come on stream in the next week or two. I have also managed a freelance writing deal with a major magazine, so time is short, and unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been busy coding away, releasing iPhone apps to get any blog posting done. I now have 5 apps on the store, with a couple more looking to come on stream in the next week or two. I have also managed a freelance writing deal with a major magazine, so time is short, and unfortunately, blog posting is not as important (at the moment) as the other two processes.</p>
<p>I should have more time in the coming months, although from my point of view, the less I blog, the busier I must be !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments will be disabled</title>
		<link>http://www.retainrelease.com/blog/?p=26</link>
		<comments>http://www.retainrelease.com/blog/?p=26#comments</comments>
		<pubDate>Sun, 08 Mar 2009 23:34:53 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=26</guid>
		<description><![CDATA[I&#8217;m sick of getting literally hundreds of notification of spam comments on this blog per day. So, as a pre-emptive measure, comments will be offline.
I guess the point of a blog is to start a discussion, but the spam to genuine ratio is far too high towards the spam side. If you have a question, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sick of getting literally hundreds of notification of spam comments on this blog per day. So, as a pre-emptive measure, comments will be offline.</p>
<p>I guess the point of a blog is to start a discussion, but the spam to genuine ratio is far too high towards the spam side. If you have a question, comment or suggestion, get my contact details off the main site. Always happy to talk, or better yet ping me on Twitter. My name is @kiwibastard.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symbol not found: _SCDynamicStoreCopyConsoleUser AVAudioPlayer</title>
		<link>http://www.retainrelease.com/blog/?p=24</link>
		<comments>http://www.retainrelease.com/blog/?p=24#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:34:18 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=24</guid>
		<description><![CDATA[If you come across issues with AVAudioPlayer not playing media in the simulator, and you then look in the console log and see a line with the above then check the rest of the error. It will say an offending plugin that is causing the media to not playback. Simply delete the plugin and the [...]]]></description>
			<content:encoded><![CDATA[<p>If you come across issues with AVAudioPlayer not playing media in the simulator, and you then look in the console log and see a line with the above then check the rest of the error. It will say an offending plugin that is causing the media to not playback. Simply delete the plugin and the sound will work on the Simulator.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macworld Expo Keynote Predictions</title>
		<link>http://www.retainrelease.com/blog/?p=23</link>
		<comments>http://www.retainrelease.com/blog/?p=23#comments</comments>
		<pubDate>Sun, 04 Jan 2009 19:31:48 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=23</guid>
		<description><![CDATA[Prediction one: This will be the last time I predict what will be announced at Macworld Expo by Apple!
I&#8217;ve been pretty busy with other things, including publishing an app for the iPhone. (Note to self: change the urls for that&#8230;) and with the impending arrival of child number two, I haven&#8217;t been keeping up with [...]]]></description>
			<content:encoded><![CDATA[<p>Prediction one: This will be the last time I predict what will be announced at Macworld Expo by Apple!</p>
<p>I&#8217;ve been pretty busy with other things, including publishing an <a href="http://www.retainrelease.com/page2/page2.html">app </a>for the iPhone. (Note to self: change the urls for that&#8230;) and with the impending arrival of child number two, I haven&#8217;t been keeping up with the rumours. So this year all of my predictions will be completely off the cuff. So here goes (in no particular order):</p>
<p>1) Update to iLife and iWork &#8211; it&#8217;s been almost a year and a half for iWork and at least a year for iLife so they are due<br />
2) Mac Mini / AppleTV refresh. Both are due for either a cut or a revamp. I can&#8217;t see too much happening with the ATV as it&#8217;s pretty much a hobby sideline for Apple. It would be nice to see a Mini upgrade with more ram and CPU bump. It would be great to see a mini with some kind of ATV integration, although again can&#8217;t see it<br />
3) Refresh to iMac line up. This could just be a CPU and Video bump, but maybe a refinement of the design. Although, IMHO they are spot on as it is. I can guarantee this one because I bought a new iMac about 3 months ago!</p>
<p>I think the above will happen in some shape or form. The next list is things that could happen, but probably won&#8217;t, or ones I want to happen&#8230;</p>
<p>1) iTablet. This would be computing nirvana for me if this happened. I can&#8217;t see Apple announcing this outside of an Apple run event. The current financial climate might not be the place for this kind of device either<br />
2) Mac App Store: Like the iPhone app store but for Mac Apps. I want this as a (sometimes) indie developer rather than an end user, but it would be awesome for all concerned. The only issue would be the bottom dweller price trend could continue for Mac apps &#8211; apps selling for less than they should because some developers put their apps at too low a price<br />
3) Apple to announce an across the board dropping of prices by 20% due to current economic climate.</p>
<p>Well that&#8217;s it. Will report back with my hit and miss rate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=23</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting an NSString into an array</title>
		<link>http://www.retainrelease.com/blog/?p=20</link>
		<comments>http://www.retainrelease.com/blog/?p=20#comments</comments>
		<pubDate>Sat, 03 Jan 2009 04:00:33 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=20</guid>
		<description><![CDATA[Just a quick tip:
If you need to split an NSString into an NSArray it can be done:
NSString madeUpText = @"bob, dick, jane, harry, bruce";
NSArray *splitArray = [madeUpText componentsSeparatedByString: @","];
This is especially useful if you have a list of strings from say the NSPasteboard that are separated by newline. In this example you would go:
value = [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick tip:</p>
<p>If you need to split an NSString into an NSArray it can be done:</p>
<blockquote><p><code>NSString madeUpText = @"bob, dick, jane, harry, bruce";<br />
NSArray *splitArray = [madeUpText componentsSeparatedByString: @","];</code></p></blockquote>
<p>This is especially useful if you have a list of strings from say the NSPasteboard that are separated by newline. In this example you would go:</p>
<blockquote><p><code>value = [pasteBoard stringForType:NSStringPboardType];<br />
NSArray *fileList = [value componentsSeparatedByString:@"\n"];</code></p></blockquote>
<p>where value is an NSString * and pasteBoard is [NSPasteboard generalPasteboard]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So, you think you&#8217;re a geek?</title>
		<link>http://www.retainrelease.com/blog/?p=18</link>
		<comments>http://www.retainrelease.com/blog/?p=18#comments</comments>
		<pubDate>Tue, 23 Dec 2008 01:54:40 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=18</guid>
		<description><![CDATA[I&#8217;ve been thinking about this recently. What exactly is a geek? It used to be easy when I were but a lad &#8211; anyone who was into &#8220;computers&#8221;. But these days it seems that everyone under the age of 25 uses computers daily, and most of them aren&#8217;t &#8220;into&#8221; computers. To them they are a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about this recently. What exactly is a geek? It used to be easy when I were but a lad &#8211; anyone who was into &#8220;computers&#8221;. But these days it seems that everyone under the age of 25 uses computers daily, and most of them aren&#8217;t &#8220;into&#8221; computers. To them they are a tool. But not to us true geeks. I have compiled a list that if all or most of the things on the list apply to you, you can consider yourself a dyed in the wool geek.</p>
<ul>
<li>On a census, you put Jedi as your religion</li>
<li>You have installed and used Linux recently. +5 points for using a hands on distro like <a href="http://www.gentoo.org">Gentoo</a>. +10 for doing it all by hand.</li>
<li>You have a blog and have a list of blogs you read daily</li>
<li>You&#8217;ve had more computers than girlfriends/boyfriends</li>
<li>You have a favourite Star Trek captain.</li>
<li>You consider numbers like 32, 256, 1024 to be nice round numbers</li>
<li>You wear shorts in the middle of winter</li>
<li>You know what a code monkey is(and who sung it)</li>
<li>You are tech support for your family</li>
<li>None of your family really understand what you do all day at work</li>
<li>You own or have built your own light sabre</li>
</ul>
<p>Not an exhaustive list by any means. Any other items to add? Leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a custom &#8220;back&#8221; button for UINavigationController</title>
		<link>http://www.retainrelease.com/blog/?p=11</link>
		<comments>http://www.retainrelease.com/blog/?p=11#comments</comments>
		<pubDate>Sat, 20 Dec 2008 19:56:48 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cocoa Touch]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=11</guid>
		<description><![CDATA[If you use the standard UINavigationController push and pop mechanism, the left button (back) title will be the title of the previous NavigationController. This is ok a lot of the time, but sometimes you just want it to say &#8220;Back&#8221; or similar.

 
 
For example, in the image above the Navigation Title is quite long, so having [...]]]></description>
			<content:encoded><![CDATA[<p>If you use the standard UINavigationController push and pop mechanism, the left button (back) title will be the title of the previous NavigationController. This is ok a lot of the time, but sometimes you just want it to say &#8220;Back&#8221; or similar.</p>
<p><img class="alignleft size-full wp-image-12" title="ss1" src="http://www.retainrelease.com/blog/wp-content/uploads/2008/12/ss1.png" alt="ss1" width="320" height="47" /></p>
<p> </p>
<p> </p>
<p>For example, in the image above the Navigation Title is quite long, so having the Title of the previous view instead of Back causes things to get a little busy.</p>
<p>To change the text or style you have to add a custom UIBarButtonItem to the<strong> previous or owner&#8217;s</strong> navigation item. That is the NavigationController before the current View on the stack. This is a little puzzling until you think about it a little bit. </p>
<p>The code to add you own custom item is as follows:</p>
<blockquote><p><span>UIBarItem</span><span> *backBar = [[</span><span>UIBarButtonItem</span><span> </span>alloc<span>] </span>initWithTitle<span>:</span><span>@&#8221;Back&#8221;</span><span> </span>style<span>:</span>UIBarButtonItemStyleDone<span> </span>target<span>:</span><span>nil</span><span> </span>action<span>:</span><span>nil</span><span>];</span></p>
<p><span> </span><span>self</span>.navigationItem.backBarButtonItem = backBar;</p>
<p>[backBar <span>release</span>];</p>
<p>// following code pushes a new view on to the stack<br />
<br/><br />
[[self navigationController] pushViewController:self.goodFormViewController animated:YES];<br/></p></blockquote>
<p>The resulting code will look like this:</p>
<p><img class="alignleft size-full wp-image-13" title="ss2" src="http://www.retainrelease.com/blog/wp-content/uploads/2008/12/ss2.png" alt="ss2" width="318" height="43" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop connection cannot verify the identity of the computer</title>
		<link>http://www.retainrelease.com/blog/?p=9</link>
		<comments>http://www.retainrelease.com/blog/?p=9#comments</comments>
		<pubDate>Wed, 17 Dec 2008 08:30:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[OS X Tips]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=9</guid>
		<description><![CDATA[If you get the following error: &#8220;Remote desktop connection cannot verify the identity of the computer that  you want to connect to. try reconnecting to the windows-based computer or  contatct your administrator.&#8221;   when trying to connect OS X to a Windows Machine via RDP then do the following:
1) Delete all files [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the following error: &#8220;Remote desktop connection cannot verify the identity of the computer that  you want to connect to. try reconnecting to the windows-based computer or  contatct your administrator.&#8221;   when trying to connect OS X to a Windows Machine via RDP then do the following:</p>
<p>1) Delete all files in /user/{username}/Documents/RDC Connections</p>
<p>2) Don&#8217;t fill in the domain text box  for some reason when using the Mac client if the domain text box is filled then the Windows machine at the other end can&#8217;t authenticate the connection. Seems to be worse with Vista, but I have read of this happening with 2003 also.</p>
<p>HTH</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Kiwi made iPhone Game</title>
		<link>http://www.retainrelease.com/blog/?p=8</link>
		<comments>http://www.retainrelease.com/blog/?p=8#comments</comments>
		<pubDate>Sun, 14 Dec 2008 19:10:33 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.retainrelease.com/blog/?p=8</guid>
		<description><![CDATA[Tim over at IMS has just released BurnBall. It is a simple little game, utilising the accelerometer and very nice cartoon style graphics. Addictive gameplay and a very low price (US$0.99) make this a must buy.
Congrats Tim. I look forward to seeing more games from IMS in the coming months.
]]></description>
			<content:encoded><![CDATA[<p>Tim over at <a title="IMS" href="http://www.ims.co.nz/BurnBall" target="_blank">IMS</a> has just released BurnBall. It is a simple little game, utilising the accelerometer and very nice cartoon style graphics. Addictive gameplay and a very low price (US$0.99) make this a must buy.</p>
<p>Congrats Tim. I look forward to seeing more games from IMS in the coming months.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retainrelease.com/blog/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
