<?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>Abizern.org &#187; cocoa</title>
	<atom:link href="http://abizern.org/tag/cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://abizern.org</link>
	<description>The personal and developer blog of a Mac developer in London.</description>
	<lastBuildDate>Thu, 02 Sep 2010 01:47:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Another Successful NSCoder Night</title>
		<link>http://abizern.org/2010/08/19/another-successful-nscoder-night/</link>
		<comments>http://abizern.org/2010/08/19/another-successful-nscoder-night/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 02:23:17 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=378</guid>
		<description><![CDATA[Probably the last NSCoder Night of the summer started outside in the courtyard. A group got together for food at Pizza Hut beforehand and a couple more went to the Bunch of Grapes a little later on. It pays to watch the Twitter feeds to see what pre-meeting arrangements are being made. After the usual [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/15729248@N00/4904311870" title="View 'August NSCoder Night London' on Flickr.com"><img alt="August NSCoder Night London" src="http://farm5.static.flickr.com/4073/4904311870_e9592eabdb.jpg" border="0" width="500" height="374" /></a></p>
<p>Probably the last NSCoder Night of the summer started outside in the courtyard. A group got together for food at Pizza Hut beforehand and a couple more went to the Bunch of Grapes a little later on. It pays to watch the Twitter feeds to see what pre-meeting arrangements are being made.</p>
<p><a href="http://www.flickr.com/photos/15729248@N00/4906234464" title="View 'Getting ready for the presentation' on Flickr.com"><img alt="Getting ready for the presentation" src="http://farm5.static.flickr.com/4093/4906234464_8b9382c4d4.jpg" border="0" width="374" height="500" /></a></p>
<p>After the usual chat outside we moved in to the Old Bar for Richard&#8217;s talk on Test Driven Development (sorry I spoke over you, Richard) which went well and generated some interesting discussion. Richard has made his <a href="http://dl.dropbox.com/u/9302287/Test-Driven%20Development.pdf">slides availables here</a>.<br />
Next month&#8217;s talk is going to be about Git and distributed version control (not by me) and we may also have another talk lined up for the following month. If you have an idea for a talk you would like to give, please get in touch with me.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/08/19/another-successful-nscoder-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>August NSCoder Night — Now With Talks</title>
		<link>http://abizern.org/2010/08/05/nscoder-night-with-talks/</link>
		<comments>http://abizern.org/2010/08/05/nscoder-night-with-talks/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 15:20:43 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[Mac Development]]></category>
		<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=361</guid>
		<description><![CDATA[Let&#8217;s try and add something new to our NSCoder Nights — talks. Our evenings don&#8217;t usually follow the norm of people all sat down and coding. I suppose that&#8217;s because of the choice of venue, but who would turn up for an evening in Starbucks? I&#8217;ve got a couple of volunteers lined up for the [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s try and add something new to our NSCoder Nights — talks.</p>
<p>Our evenings don&#8217;t usually follow the norm of people all sat down and coding. I suppose that&#8217;s because of the choice of venue, but who would turn up for an evening in Starbucks?</p>
<p>I&#8217;ve got a couple of volunteers lined up for the next couple of meetings, but I thought it would be a good idea to put some draft ground rules down.</p>
<p><strong>For Presenters:</strong></p>
<p>Keep talks short and focussed. 15-20 minutes should be enough time. Think of it as being an initiator of the discussion that might follow.</p>
<p>Forget about any audio-video support. We are in a pub, where there are other people around. A few slides on your laptop or iPad is the most you have to work with. If you do a slideshow I&#8217;ll happily host the slides or post a link back to where you have them.</p>
<p>Don&#8217;t be offended if not everyone listens to your presentation, or scuttle of during it. Some people are just not interested in the topic, or are having a more interesting discussion somewhere else. The talks are not the point of the evening, just something that happens during the evening.</p>
<p>Be prepared to expand upon and explain your ideas further if someone asks.</p>
<p><strong>For Listeners:</strong></p>
<p>Don&#8217;t feel you have to listen to the talk if you don&#8217;t want to, but please don&#8217;t have a conversation over it. If you start listening and decide to bail, do so in the least disruptive way possible.</p>
<p>Ask questions, make comments, ask for help with related code. The presentations are necessarily short, but that doesn&#8217;t mean you can&#8217;t keep talking about the topic.</p>
<p>If you feel you have something to talk about, let me know and I&#8217;ll add you to the list.</p>
<p><strong>Upcoming Talks:</strong></p>
<p>August &#8211; <a href="http://twitter.com/richardbuckle">Richard Buckle</a> on Test Driven Development<br />
September &#8211; <a href="http://twitter.com/alblue">Alex Blewitt</a> on Git/DVCS</p>
<p>If anyone has any amendments to propose for these rules or have subjects for talks, please let me know. See you on August 17th.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/08/05/nscoder-night-with-talks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multitouch NSCoder Night Next</title>
		<link>http://abizern.org/2010/06/16/multitouch-nscoder-night-next/</link>
		<comments>http://abizern.org/2010/06/16/multitouch-nscoder-night-next/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 10:37:12 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=355</guid>
		<description><![CDATA[Last night&#8217;s NSCoder Night London was the smallest gathering yet. Not surprising considering that most regulars had been to NSConference Mini the previous Friday. It was also at a new place &#8211; The George Inn on Borough High Street because the Bunch of Grapes was showing football. After spending the evening in the Old Bar [...]]]></description>
			<content:encoded><![CDATA[<p>Last night&#8217;s NSCoder Night London was the smallest gathering yet. Not surprising considering that most regulars had been to NSConference Mini the previous Friday. It was also at a new place &#8211; The George Inn on Borough High Street because the Bunch of Grapes was showing football.</p>
<p>After spending the evening in the Old Bar which was mostly empty we thought we&#8217;d try and have the next meeting there as well. Far more space and quiet enough to hear everybody. This could have been because people had gone elsewhere to watch the football or were sitting on the benches outside to enjoy the clement weather. The downside was that the food wasn&#8217;t as good.</p>
<p>So, for next month, we&#8217;ll try and have the meeting at the George Inn and see how it copes with a larger group of people, and for those who turn up early they can go to the Bunch of Grapes for food. There is no point in trying to arrange dinner afterwards because people have got trains to catch.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/06/16/multitouch-nscoder-night-next/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>June NSCoder Night</title>
		<link>http://abizern.org/2010/06/14/june-nscoder-night/</link>
		<comments>http://abizern.org/2010/06/14/june-nscoder-night/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:41:30 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=350</guid>
		<description><![CDATA[The usual venue will be showing world cup football on our usual night so rather than put up with the a crowded upstairs room and droning vuvuzelas it seems a better idea to shift the meeting from one week. The suggestion is The George Inn on Borough High street. It’s just a couple of minutes [...]]]></description>
			<content:encoded><![CDATA[<p>The usual venue will be showing world cup football on our usual night so rather than put up with the a crowded upstairs room and droning vuvuzelas it seems a better idea to shift the meeting from one week. The suggestion is The George Inn on Borough High street. It’s just a couple of minutes further on from London Bridge station.</p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;q=The+George+Inn,+77+Borough+High+St,+Southwark,+City+of+London+SE1+1NH,+United+Kingdom&amp;sll=53.800651,-4.064941&amp;sspn=15.76974,28.828125&amp;ie=UTF8&amp;cd=3&amp;geocode=FbDkEQMdJ5_-_w&amp;split=0&amp;hq=&amp;hnear=The+George+Inn,+77+Borough+High+St,+City+of+London+SE1+1NH,+United+Kingdom&amp;ll=51.505176,-0.089779&amp;spn=0.004675,0.00912&amp;z=16&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;q=The+George+Inn,+77+Borough+High+St,+Southwark,+City+of+London+SE1+1NH,+United+Kingdom&amp;sll=53.800651,-4.064941&amp;sspn=15.76974,28.828125&amp;ie=UTF8&amp;cd=3&amp;geocode=FbDkEQMdJ5_-_w&amp;split=0&amp;hq=&amp;hnear=The+George+Inn,+77+Borough+High+St,+City+of+London+SE1+1NH,+United+Kingdom&amp;ll=51.505176,-0.089779&amp;spn=0.004675,0.00912&amp;z=16&amp;iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
<p>The other idea I had was to gather on the embankment outside the London Assembly building. But the weather reports say it might be windy.</p>
<p>This is just a temporary location for a week.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/06/14/june-nscoder-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>March NSCoder Night</title>
		<link>http://abizern.org/2010/03/16/march-nscoder-night/</link>
		<comments>http://abizern.org/2010/03/16/march-nscoder-night/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 12:06:28 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=323</guid>
		<description><![CDATA[Today is the third Tuesday of the month, so it&#8217;s time for the London NSCoder Night. The meeting is at the usual place at the usual time. There is a table booked upstairs from 7pm. Send me an email or a DM on twitter if you need my phone number or any other details. As [...]]]></description>
			<content:encoded><![CDATA[<p>Today is the third Tuesday of the month, so it&#8217;s time for the London NSCoder Night.</p>
<p>The meeting is at the usual place at the usual time. There is a table booked upstairs from 7pm. Send me an email or a DM on twitter if you need my phone number or any other details.</p>
<p>As it&#8217;s such a nice day, I might turn up early. See you later.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/03/16/march-nscoder-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Year Of Objective-C Snippets</title>
		<link>http://abizern.org/2010/02/27/a-year-of-objective-c-snippets/</link>
		<comments>http://abizern.org/2010/02/27/a-year-of-objective-c-snippets/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 17:20:29 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[Mac Development]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[nsarray]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=290</guid>
		<description><![CDATA[Pieter Omvlee of Bohemian Coding has been inspired to post a snippet of Objective-C/Cocoa code every day for a year. It’s a great idea and starts with a useful category on NSArray. Go and see what you can learn over at http://365cocoa.tumblr.com/.]]></description>
			<content:encoded><![CDATA[<p>Pieter Omvlee of <a title="http://www.bohemiancoding.com" href="http://www.bohemiancoding.com/">Bohemian Coding</a> has been inspired to post a snippet of Objective-C/Cocoa code every day for a year.</p>
<p>It’s a great idea and starts with a useful category on NSArray. Go and see what you can learn over at <a href="http://365cocoa.tumblr.com/">http://365cocoa.tumblr.com/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/02/27/a-year-of-objective-c-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NSCoder Night January 2010</title>
		<link>http://abizern.org/2010/01/18/nscoder-night-january-2010/</link>
		<comments>http://abizern.org/2010/01/18/nscoder-night-january-2010/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 11:40:14 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[hackday]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[nscodernight]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://abizern.org/?p=273</guid>
		<description><![CDATA[Sorry for the late notice but there is an NSCoder Night London on Tuesday, January 19th at 7pm ish. at the Bunch of Grapes in Borough. Google Maps isn&#8217;t accurate, so use this map to find it. I&#8217;ve booked a table upstairs so we won&#8217;t have to hang around waiting to find a place to [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the late notice but there <em>is</em> an NSCoder Night London on <time datetime="2010-01-19T19:00:00+00:00">Tuesday, January 19th at 7pm</time> ish. at the <a href="http://www.bunchofgrapesborough.com">Bunch of Grapes</a> in Borough. Google Maps isn&#8217;t accurate, so use <a href="http://embr.it/nscodernightlondon">this</a> map to find it. I&#8217;ve booked a table upstairs so we won&#8217;t have to hang around waiting to find a place to sit.</p>
<p>WiFi can be spotty in the pub, so if you want to be sure to find us drop me a message and I&#8217;ll let you have my mobile number. There is food available until 9pm if you&#8217;re likely to be hungry. Unfortunately, there is a minimum age of 21.</p>
<p>As usual, you don&#8217;t have to bring a laptop and code; you can just come and be social.</p>
<p>Finally, at one of last year&#8217;s meetings, mention was made of having a Cocoa hackday along the lines of <a href="http://cocoadevhouse.org">CocoaDevHouse</a>. If you have any ideas for this or have experience in setting up these kinds of events I&#8217;d love to talk to you about taking this further.</p>
<p>See you tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2010/01/18/nscoder-night-january-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some tips for lazy Xcoders</title>
		<link>http://abizern.org/2009/11/11/some-tips-for-lazy-xcoders/</link>
		<comments>http://abizern.org/2009/11/11/some-tips-for-lazy-xcoders/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 12:40:53 +0000</pubDate>
		<dc:creator>Abizer</dc:creator>
				<category><![CDATA[Mac Development]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[clang]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[commits]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=177</guid>
		<description><![CDATA[We all know what we should be doing when writing code. Each methodology you choose to use has it&#8217;s own best practices, whether it&#8217;s working from full specifications, writing unit tests first, programming in pairs, yadda, yadda. But, as developers, we&#8217;re only human, and we&#8217;re lazy. We have tools to make things easy for us. [...]]]></description>
			<content:encoded><![CDATA[<p>We all know what we should be doing when writing code. Each methodology you choose to use has it&#8217;s own best practices, whether it&#8217;s working from full specifications, writing unit tests first, programming in pairs, yadda, yadda. But, as developers, we&#8217;re only human, and we&#8217;re lazy. We have tools to make things easy for us. Here are a few tips that you can use to help when you&#8217;re not as rigorous in your coding as you should be.</p>
<h2>Use a static analyser.</h2>
<p>You can use the <a href="http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9#compilers">Clang Static Analyser</a> in Xcode by setting a build option. This will find a whole host of errors in your code, even down to unconventionally named functions.</p>
<p><img src="http://abizern.org/wp-content/uploads/2009/11/ClangBuildSetting.png" alt="ClangBuildSetting.png" width="502" height="122" /></p>
<p>Now you can just code away and have the compiler pick up your mistakes when you run &#8216;Build and Analyze&#8217; (Shift ⌘ A).</p>
<h2>Find your mistakes quickly</h2>
<p>Any real application you develop will have a large number of resources that need to be copied to your application bundle. The default projects that Xcode create for you will copy these files first before compiling.</p>
<p><img src="http://abizern.org/wp-content/uploads/2009/11/XcodeDefault.png" alt="XcodeDefault.png" width="232" height="88" /></p>
<p>But, the lazy Xcoder knows that there are probably errors in the code that need to get flagged by the compiler, so this copying is a waste of time. Reorder the build steps by dragging so that the compilation is done first.</p>
<p><img src="http://abizern.org/wp-content/uploads/2009/11/XcodeRecommended.png" alt="XcodeRecommended.png" width="219" height="86" /></p>
<p>Your builds will now break early (and often!).</p>
<h2>Don&#8217;t fear the version controller</h2>
<p>I&#8217;m going to stick my neck out and say that if you&#8217;re not using version control you&#8217;re an idiot. The lazy Xcoder uses a powerful system that lets him or her branch easily, make lots of little changes, and lots of mistakes (that can be backed out). These changes can then be bundled into larger commits to be merged into the main branch so that your co-workers don&#8217;t see what an idiot you&#8217;ve been.</p>
<p>One such version control system is <a href="http://git-scm.com/">git</a>. The lazy Xcoder writes a bit of code, checks it in out of habit and then compiles. The compiler picks up the mistakes, and he or she fixes them. Rather than make a new commit, and retype the commit message, just call:</p>
<p><code>git commit --amend -a -C HEAD</code></p>
<p>This will bring up the previous commit message in the editor, which you can amend if you wish. This new commit will replace the previous one. The <code>-a</code> option means you don&#8217;t even need to do a git add and the <code>-C HEAD</code> option means it will use the commit message from the last commit.</p>
<p>Of course, if you&#8217;re a rockstar programmer, you don&#8217;t make mistakes at this level. But I&#8217;m not, and I prefer to work with human nature rather than against it.</p>
]]></content:encoded>
			<wfw:commentRss>http://abizern.org/2009/11/11/some-tips-for-lazy-xcoders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
