<?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>MartinWood.org &#187; Web</title>
	<atom:link href="http://martinwood.org/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://martinwood.org</link>
	<description>Martin Wood - UK freelance developer and mISV</description>
	<lastBuildDate>Mon, 07 Jun 2010 13:36:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XCode Project Template bug on Snow Leopard</title>
		<link>http://martinwood.org/2009/11/17/xcode-project-template-bug-on-snow-leopard/</link>
		<comments>http://martinwood.org/2009/11/17/xcode-project-template-bug-on-snow-leopard/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:33:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://martinwood.org/?p=24</guid>
		<description><![CDATA[After a gap of almost six years I&#8217;ve been grabbed by the sudden urge to start doing some Cocoa development again.
Rather than get my old battered copy of Hillegass&#8217; seminal Cocoa Programming for Mac OS X out of some long forgotten cupboard I&#8217;ve been refreshing my fading memory by reading the new Cocoa Programming title [...]]]></description>
			<content:encoded><![CDATA[<p>After a gap of almost six years I&#8217;ve been grabbed by the sudden urge to start doing some Cocoa development again.</p>
<p>Rather than get my old battered copy of Hillegass&#8217; seminal <a href="http://www.amazon.co.uk/gp/product/0321503619?ie=UTF8&#038;tag=mwood-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=0321503619">Cocoa Programming for Mac OS X</a><img src="http://www.assoc-amazon.co.uk/e/ir?t=mwood-21&#038;l=as2&#038;o=2&#038;a=0321503619" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> out of some long forgotten cupboard I&#8217;ve been refreshing my fading memory by reading the new <a href="http://www.pragprog.com/titles/dscpq/cocoa-programming">Cocoa Programming</a> title from the Pragmatic bookshelf, which, although still in Beta, is so far a nice breezy ride (back) into the world of Mac development, and more importantly for me these days, is available as a downloadable PDF &#8211; unlike the Hillegass title (sort it out, man!)</p>
<p>Everything was going well until I hit a chapter that claimed that I should have an application delegate class automatically created when starting a new vanilla &#8216;Cocoa Application&#8217; project.</p>
<p>I didn&#8217;t.</p>
<p>Fighting my &#8216;this is obviously a Beta book problem&#8217; mentality, I slowly discovered that my XCode installation is doing very strange things, even after totally wiping out my current installation and replacing it with the latest download from the Apple site (v3.2.1) creating a new basic &#8216;Cocoa Application&#8217; would not give me the delegate files (and instead of the newer Xib Interface Builder format, I had the older style Nib format).</p>
<p>Very strange indeed.</p>
<p>Digging deeper into the mysterious world of XCode templates (i.e. poking randomly around the contents of <code>/Developer/Library/Xcode/Project Templates</code>) I discovered that yes, my Cocoa Application template folder, which is used as the basis of new projects, looked a bit suspect : </p>
<pre>
drwxrwxr-x   9 root   admin         306 May 18  2009 Cocoa Application
drwxrwxr-x   9 root   admin         306 May 18  2009 Cocoa Document-based Application
drwxrwxr-x   4 root   admin         136 Sep 24  2007 CocoaApp.xcodeproj
-rw-rw-r--   1 root   admin         157 Sep 24  2007 CocoaApp_Prefix.pch
drwxrwxr-x  10 root   admin         340 May 18  2009 Core Data Application
drwxrwxr-x  11 root   admin         374 May 18  2009 Core Data Application with Spotlight Importer
drwxrwxr-x  10 root   admin         340 May 18  2009 Core Data Document-based Application
drwxrwxr-x  11 root   admin         374 May 18  2009 Core Data Document-based Application with Spotlight Importer
drwxrwxr-x   4 root   admin         136 Sep 24  2007 English.lproj
-rw-rw-r--   1 root   admin         849 Sep 24  2007 Info.plist
-rw-rw-r--   1 root   admin         596 May 18  2009 TemplateChooser.plist
-rw-rw-r--   1 root   admin         263 Sep 24  2007 main.m
</pre>
<p>i.e. what the blazes are those &#8220;Core Data&#8230;&#8221; folders doing there? They are Project Templates in their own right and shouldn&#8217;t be within this folder.</p>
<p>Throwing caution to the wind (well, backing up the folder first) I pruned out these folders, plus the &#8220;Cocoa Document-based Application one&#8221; and the &#8220;TemplateChoose.plist&#8221; for good measure. Leaving it looking like :</p>
<pre>
drwxrwxr-x   9 root     admin         306 May 18  2009 Cocoa Application
drwxrwxr-x   4 root     admin         136 Sep 24  2007 CocoaApp.xcodeproj
-rw-rw-r--   1 root     admin         157 Sep 24  2007 CocoaApp_Prefix.pch
drwxrwxr-x   4 root     admin         136 Sep 24  2007 English.lproj
-rw-rw-r--   1 root     admin         849 Sep 24  2007 Info.plist
-rw-rw-r--   1 root     admin         263 Sep 24  2007 main.m
</pre>
<p>and all seems well within the XCode world again.</p>
<p>I&#8217;m afraid I have no idea what could have caused this, and the only other reference I can find to the problem is <a href="http://telliott99.blogspot.com/2009/10/xcode-templates-messed-up.html">here</a> which ties up exactly to what I was seeing, and proves it&#8217;s not an isolated incident.</p>
<p>Interested to learn if anybody has had a similar problem, and what the possible cause(s) are as I&#8217;m sure if it affected all Snow Leopard / XCode developers it would be more widely known about.</p>
]]></content:encoded>
			<wfw:commentRss>http://martinwood.org/2009/11/17/xcode-project-template-bug-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functional testing of a Rails app with Selenium</title>
		<link>http://martinwood.org/2005/12/30/functional-testing-of-a-rails-app-with-selenium/</link>
		<comments>http://martinwood.org/2005/12/30/functional-testing-of-a-rails-app-with-selenium/#comments</comments>
		<pubDate>Fri, 30 Dec 2005 20:44:55 +0000</pubDate>
		<dc:creator>Martin Wood</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.martinwood.org/?p=8</guid>
		<description><![CDATA[How to use the Selenium test tool for functional testing of a Ruby on Rails and Ajax application.
Link : Automate acceptance tests with Selenium
Definitely one to add to every web developers toolbox in 2006.
]]></description>
			<content:encoded><![CDATA[<p>How to use the Selenium test tool for functional testing of a Ruby on Rails and Ajax application.</p>
<p>Link : <a href="http://www-128.ibm.com/developerworks/library/wa-selenium-ajax/?ca=dgr-lnxw06Selenium">Automate acceptance tests with Selenium</a></p>
<p>Definitely one to add to every web developers toolbox in 2006.</p>
]]></content:encoded>
			<wfw:commentRss>http://martinwood.org/2005/12/30/functional-testing-of-a-rails-app-with-selenium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
