<?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>CocoaHeads Belgium</title>
	<atom:link href="http://cocoaheads.be/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://cocoaheads.be/wordpress</link>
	<description>Home of the Belgian CocoaHeads Chapter</description>
	<lastBuildDate>Sun, 29 Apr 2012 07:16:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>26 April: DTrace for Beginners</title>
		<link>http://cocoaheads.be/wordpress/2012/04/dtrace-for-beginners/</link>
		<comments>http://cocoaheads.be/wordpress/2012/04/dtrace-for-beginners/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:09:34 +0000</pubDate>
		<dc:creator>Jelle De Laender</dc:creator>
				<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=571</guid>
		<description><![CDATA[Koen Van Nieuwenhove (@CocoaCrumbs) will show us the basics of DTrace, the tool that's behind Apple's Instruments app.]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>Koen Van Nieuwenhove (@CocoaCrumbs) will show us the basics of DTrace, the tool that&#8217;s behind Apple&#8217;s Instruments app.</p>
<p>The goal of the talk is to show what DTrace can do and thereby provide a better understanding of how Instruments works and how to interpret its output. The presentation will be at an introduction-level, consisting mostly of (live) examples to keep it as accessible as possible.</p>
<h3>Practical information:</h3>
<ul>
<li><strong>Date</strong>: 26 April, 8pm</li>
<li><strong>Location</strong>: Het Trappenhuis (School), Lucas Munichstraat 29, 9000 Gent</li>
<li><strong>Topic</strong>: Koen Van Nieuwenhove will show us the basics of DTrace.</li>
<li><strong>Registration</strong>: <a href="http://www.eventbrite.com/event/3385701725">http://www.eventbrite.com/event/3385701725</a></li>
</ul>
<p>See you there</p>
<p><b>Update</b>: Slides of the presentation can be downloaded <a href='http://cocoaheads.codingmammoth.com/CocoaHeads_DTrace.zip'>here</a>. Be sure to read the readme-file for the &#8216;tooManySecrets&#8217; demo. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2012/04/dtrace-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cocoaheads Belgium March 2012 Meeting</title>
		<link>http://cocoaheads.be/wordpress/2012/03/cocoaheadsbe-meeting-26-march-8pm/</link>
		<comments>http://cocoaheads.be/wordpress/2012/03/cocoaheadsbe-meeting-26-march-8pm/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 09:42:09 +0000</pubDate>
		<dc:creator>Jelle De Laender</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[10to1]]></category>
		<category><![CDATA[Cocoaheads Belgium]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[meeting]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=552</guid>
		<description><![CDATA[The topic of this meeting will be iOS design case study: from concept to end result by Johan Ronsse (designer at <a href="http://www.wolfslittlestore.be">wolfslittlestore.be</a>) ]]></description>
			<content:encoded><![CDATA[<p>Hallo all,</p>
<p>Our next Cocoaheads Belgium meeting will take place on the 26 th of March at 8 pm in the offices of 10to1 (Prins Boudewijnlaan 5, Kontich).</p>
<p>This time Johan Ronsse (designer at <a href="http://www.wolfslittlestore.be">wolfslittlestore.be</a>) will give a presentation on designing for iOS. He will use the upcoming ConcertWall app as a case study and will share his experience on the interaction between developer and designer. There will also be lots of design-related tips &amp; tricks, useful for both designers and developers.</p>
<h3>Practical information:</h3>
<ul>
<li><strong>Date</strong>: 26 March, 8pm</li>
<li><strong>Location</strong>: 10to1, Prins Boudewijnlaan 5, Kontich</li>
<li><strong>Topic</strong>: iOS design case study: from concept to end result. Presented by Johan Ronsse.</li>
<li><strong>Registration</strong>: <a href="http://www.eventbrite.com/event/3144050941">http://www.eventbrite.com/event/3144050941</a></li>
</ul>
<p>See you there</p>
<p>Update: Slides of the presentation are available at <a title="slideshare.net/Wolfr" href="http://www.slideshare.net/Wolfr/ios-design-a-case-study" target="_blank">slideshare.net/Wolfr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2012/03/cocoaheadsbe-meeting-26-march-8pm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informal Meeting: 27th February.</title>
		<link>http://cocoaheads.be/wordpress/2012/02/informal-meeting-27th-february/</link>
		<comments>http://cocoaheads.be/wordpress/2012/02/informal-meeting-27th-february/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 13:45:49 +0000</pubDate>
		<dc:creator>Jelle De Laender</dc:creator>
				<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=545</guid>
		<description><![CDATA[Hello all, Our next (informal) CocoaHeads meeting will be on 27 February, 8pm at Vooruit Gent. The perfect time to talk about Objective-C, our secret projects, and of course with a couple beers. &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>Our next (informal) CocoaHeads meeting will be on 27 February, 8pm at Vooruit Gent.</p>
<p>The perfect time to talk about Objective-C, our secret projects, and of course with a couple beers.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2012/02/informal-meeting-27th-february/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cocoaheads Belgium June 2011 Meeting</title>
		<link>http://cocoaheads.be/wordpress/2011/06/cocoaheads-belgium-june-2011-meeting/</link>
		<comments>http://cocoaheads.be/wordpress/2011/06/cocoaheads-belgium-june-2011-meeting/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 18:38:10 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=538</guid>
		<description><![CDATA[Since everyone is back from WWDC it's time to hold another Cocoaheads Belgium meeting ... this time with a very special Steve(n)Note !]]></description>
			<content:encoded><![CDATA[<p>CocoaHeads is a group devoted to discussion of Apple Computer&#8217;s Cocoa Framework for programming on MacOS X (including the iPhone).</p>
<p>This month the meeting will take place in Mons on the 27th of June.  Raphael and Sandrine from <a title="Creaceed" href="http://creaceed.com/">Creaceed</a> have been kind enough to provide us with a location in which we can hold this month&#8217;s meeting.</p>
<p>The location for this month&#8217;s meeting is La Maison de l&#8217;Entreprise (LME) - Incubateur technologique, 7 Boulevard Initialis, 7000 Mons.  Raphael will be presenting a session on &#8220;GCD &amp; Blocks&#8221;, an Steven from <a title="Blue Crowbar Software" href="http://bluecrowbar.com/" target="_blank">Blue CrowBar Software</a> will open the meeting with a very special Steve(n)Note.</p>
<p>The meeting will start at 20:00, and there will be plenty of time to meet up with other Cocoa Heads BE enthousiasts.  So if you&#8217;re interested, feel free to go to the EventBrite website and sign up, since spaces are limited.</p>
<p>You can find more information on CocoaHeads Belgium a the <a title="CocoaHeads Belgium" href="http://bit.ly/65IVVW">CocoaHeads Belgium</a> website, in the <a href="http://groups.google.com/group/cocoaheadsbe">CocoaHeads Google Groups</a> and I even created a <a href="http://www.linkedin.com/groups?gid=2342382&amp;trk=hb_side_g">Linked In group for CocoaHeads Belgium</a>.</p>
<p>Registration for this Meeting can be done on the <a href="http://bit.ly/CHBE201106">Eventbrite page</a>.  If you have suggestions for future sessions or are willing to give a session, that would be the perfect time to let us know.</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2011/06/cocoaheads-belgium-june-2011-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cocoaheads Belgium April 2011 Meeting</title>
		<link>http://cocoaheads.be/wordpress/2011/04/cocoaheads-belgium-april-2011-meeting/</link>
		<comments>http://cocoaheads.be/wordpress/2011/04/cocoaheads-belgium-april-2011-meeting/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 15:07:36 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=534</guid>
		<description><![CDATA[It took a while before we got another Official Cocoaheads Belgium meeting, but this time we have something scheduled :-)]]></description>
			<content:encoded><![CDATA[<p>CocoaHeads is a group devoted to discussion of Apple Computer&#8217;s Cocoa Framework for programming on MacOS X (including the iPhone).</p>
<p>This month the meeting will take place in Gent on the 2nd of May.  The location for this month&#8217;s meeting is in the offices of SHPArtners &#8211; <a title="Roving Bird" href="http://www.rovingbird.com/nl/home/">Roving Bird</a>, Kortrijksesteenweg 1099a, 9051 Gent.</p>
<p>The meeting will start at 20:00, and there will be plenty of time to meet up with other Cocoa Heads BE enthousiasts.  So if you&#8217;re interested, feel free to go to the EventBrite website and sign up, since spaces are limited.</p>
<p>You can find more information on CocoaHeads Belgium a the <a title="CocoaHeads Belgium" href="http://bit.ly/65IVVW">CocoaHeads Belgium</a> website, in the <a href="http://groups.google.com/group/cocoaheadsbe">CocoaHeads Google Groups</a> and I even created a <a href="http://www.linkedin.com/groups?gid=2342382&amp;trk=hb_side_g">Linked In group for CocoaHeads Belgium</a>.</p>
<p>Registration for this Meeting can be done on the <a href="http://bit.ly/CHBE201104">Eventbrite page</a>.  If you have suggestions for future sessions or are willing to give a session, that would be the perfect time to let us know.</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2011/04/cocoaheads-belgium-april-2011-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RovingBird launches its first iOS developers training</title>
		<link>http://cocoaheads.be/wordpress/2011/01/rovingbird-launches-1ste-ios-developers-training/</link>
		<comments>http://cocoaheads.be/wordpress/2011/01/rovingbird-launches-1ste-ios-developers-training/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 18:52:23 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[RovingBird]]></category>
		<category><![CDATA[Spencer Pieters]]></category>
		<category><![CDATA[Steven Vandeweghe]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=517</guid>
		<description><![CDATA[Beginning iPhone &#038; iPad development 23, 24 &#038; 25 february 2011. Starter training Apple iOS (for iPad, iPhone &#038; iPod Touch). 3-day training (All-inclusive) at Domein Martinus in Zoersel. The course will be given by 2 members of our Cocoaheads Belgium community !]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m actually quite proud to announce that Roving Bird launches it&#8217;s first iOS developers training.  The training is aimed to be a 3-day all inclusive starter training for Apple iOS (iPad, iPhone &#038; iPod Touch) which will be held at Domein Martinus in Zoersel. The training is an All-inclusive training.  The price for the training is set at  1.750 Euro (Excl. Taxes).</p>
<p>You might be wondering what is meant by an All-Inclusive training. Well the price includes food and lodging during the 3 days course at the Domein Marinus in Zoersel. </p>
<p>If that&#8217;s not enough to convince you, we have been able to extend the early bird reduction for Cocoaheads Belgium members up till Jan 19 2011. </p>
<p><strong>This means any Cocoaheads Belgium member, who registers prior to the 19th of January, will only pay 1.500 Euro (Excl. Taxes).</strong></p>
<p>Course will be held in English</p>
<h3>Course Program</h3>
<ul>
<li>introducing Objective C</li>
<li>memory management</li>
<li>understanding MVC</li>
<li>using views and layers &#038; using scrollviews</li>
<li>view controllers, tab controllers, navigation controllers, splitview controllers, popover controllers</li>
<li>using camera and imagepickers</li>
<li>tableviews / custom cells</li>
<li>local persistence using sqlite</li>
<li>accessing data on the internet and parsing xml</li>
<li>using the built-in gps and accelerometer</li>
<li>using gestures/shakes</li>
<li>animating objects</li>
<li>making your app multi-lingual and compatible with iPhone 4’s Retina display</li>
</ul>
<h3>Prerequisites</h3>
<ul>
<li>General knowledge of an “OO” programming langauge (C++ / C# / Java of PHP)</li>
</ul>
<h3>Recommended</h3>
<ul>
<li>a Mac with a recent version of Mac OS 10.6 en de most recent Xcode 3.x</li>
<li>iOS Developer Account</li>
<li>iDevice (iPhone, iPod Touch of iPad) + Cable</li>
</ul>
<h3>Trainers</h3>
<h4>Steven Vandeweghe</h4>
<p>Steven is a seasoned Mac OS X developer with a great interest in 2D graphics. Steven has years of experience developing for Mac OS X and for iOS. Steven is the owner of <a href="http://www.bluecrowbar.com/">Blue Crowbar Software</a>.</p>
<h4>Spencer Pieters</h4>
<p>Spencer works for RovingBird and has a passion for anything related to mobile development. He is specialized in iOS and also has quite some experience developing for Andriod and Windows Phone 7.</p>
<h3>Registration</h3>
<p>You can register at <a href="http://bit.ly/eP9W6e ">Rovingbird.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2011/01/rovingbird-launches-1ste-ios-developers-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CocoaHeadsBE presents: NSCoderNight!</title>
		<link>http://cocoaheads.be/wordpress/2010/12/cocoaheadsbe-presents-nscodernight/</link>
		<comments>http://cocoaheads.be/wordpress/2010/12/cocoaheadsbe-presents-nscodernight/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 19:51:17 +0000</pubDate>
		<dc:creator>Jelle De Laender</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[CocoaHeadsBE]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[NSCoder Night]]></category>
		<category><![CDATA[NSCoderNight]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=505</guid>
		<description><![CDATA[It has been mentioned a few times on previous Cocoaheads Belgium Meetings, and finally the idea is starting to shape up. The community took up the idea and we have a suggestion for a date and location for the first Belgian NSCoder Night.]]></description>
			<content:encoded><![CDATA[<p>I would like to introduce our first NSCoderNight.</p>
<p>A NSCoderNight is basically an event where developers come together, shows some cool stuff, request support for technical issues and talk about the newest Objective-C and Cocoa stuff&#8230;</p>
<p>The first NSCoderNight will be in Ghent (in the neighborhood of  Ghent Dampoort station) and will be at Thursday February the 24th 2011  and start around 20:30.</p>
<p>I can get a location with a bar, WiFi-internet, some places to sit and power! What else do we need, except developers?</p>
<p>Are you interested and do you want to join the first NSCoderNight of CocoaHeadsBE? If so, please register at <a href="http://www.eventbrite.com/event/1153188217" target="_blank">here</a>, so we can arrange enough seats and tables.</p>
<p>More information about NSCoderNights at <a href="http://nscodernight.com/?page_id=2" target="_blank">NSCoderNights-Website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2010/12/cocoaheadsbe-presents-nscodernight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making you code easier to maintain using Objective-C Categories</title>
		<link>http://cocoaheads.be/wordpress/2010/12/making-you-code-easier-to-maintain-using-objective-c-categories/</link>
		<comments>http://cocoaheads.be/wordpress/2010/12/making-you-code-easier-to-maintain-using-objective-c-categories/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 14:06:27 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[CocoaTouch]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[UIColor]]></category>
		<category><![CDATA[UITableView]]></category>
		<category><![CDATA[UITableViewCell]]></category>
		<category><![CDATA[UITableViewController]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=490</guid>
		<description><![CDATA[Well, as you all might know by now, I'm trying to take my first steps in iOS development. And if you read my previous post, you have already noticed that I was playing with some color schemes. After a while though I ended up settting my colors in all different kinds of places. When I wanted to change one color, I noticed I had to modify my code in 10 or more places. Sure, there must be an easier way to write more maintainalbe code, and Categories seem to be helping quite a bit.]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This is a repost of my <a href="http://bit.ly/dFX9EK">original article</a> which I posted on my own website.  But since it is related to iOS development, I thought it might be interesting for the Cocoaheads Belgium folks as well.</p>
<h3>Colors Everywhere</h3>
<p>Well, after my previous post I continued doing some more work on my UI and trying to create my own Style for UITableViews and UITableViewCells. I ended up using the same colors over and over again in all different places in my application.  In the end I had code in my UITTableViewController which set the Color for the Background and the navigation bar :</p>
<p>
<pre><code>- (void)viewDidLoad
{
    [super viewDidLoad];

    // Uncomment the following line to display an Edit button in the navigation bar
    // for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
    [[self navigationController] navigationBar].tintColor = [UIColor brownColor];
    UIImage *img = [UIImage imageNamed:@"BG_Pink"];
    [[self tableView] setBackgroundColor:[UIColor colorWithPatternImage:img]];
}
</code></pre>
</p>
<p>This was all working out quite nicely &#8230;</p>
<h3>Using the same color scheme in other Views</h3>
<div id="attachment_496" class="wp-caption alignright" style="width: 210px"><a href="http://cocoaheads.be/wordpress/wp-content/uploads/2010/12/Input_ColorScheme.png"><img src="http://cocoaheads.be/wordpress/wp-content/uploads/2010/12/Input_ColorScheme-200x300.png" alt="Data Entry View with ColorScheme" title="Data Entry View with ColorScheme" width="200" height="300" class="size-medium wp-image-496" /></a><p class="wp-caption-text">Data Entry View with ColorScheme</p></div>
<p>Of course, my application consits of a few different UITableViews and I even added a data entry View and a detail view. As you can see, the data entry view is using the same background color for the UITableView and the UITableViewCells are using the same color as my other UITableView as well.</p>
<p>At some point, I wanted to change the color scheme I was using (it was more pinkish at the start), and use something more Orange or brown like.  Sadly this required me to change the color in every spot where I was using it. When I tested it on my phone, it looked horrible, since I forgot to change a few colors.</p>
<p>Since I&#8217;m still developing some basic ideas for the app, and the color scheme might change a few times during the Development cycle, I started thinking. There surely must be an easier way to handle this, which wouldn&#8217;t require me to change the colors in 10 different places.</p>
<p>Of course, I could subclass UIColor and add my own colors to it, but I wanted to try a different approach</p>
<h3>The Categories Approach</h3>
<p>During the iOS bootcamp I took at Big Nerd Ranch Europe a while back, we touched on the subject of Categories. Categories allow you to extend a class without the need to Subclass it. Using Categories I could quickly add a few methods to UIColor whithout the need to create a new Subclass.</p>
<h3>Creating a Category in UIColor</h3>
<p>Creating a new category is actually quite easy.  In my case, I wanted a category on UIColor so I could extend it.  I created a new Header and Implementation file and called it <em>UIColor+MyApp.h</em> and <em>UIColor+MyApp.c</em></p>
<h4>The Header File</h4>
<p>In the Header file <em>UIColor+MyApp.h</em> I added the following code :</p>
<p>
<pre><code>
//
//  UIColor+MyApp.h
//
//  Created by Stefaan Lesage on 11/11/10.
//  Copyright 2010 Devia. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UIColor (MyApp) 

+ (UIColor *)myTableViewBackgroundColor;
+ (UIColor *)myTableCellBackgroundColor;

@end
</code></pre>
</p>
<p>This simply declares a category MyApp on UIColor, and defines 2 new methods on it. <em>myTableViewBackgroundColor</em> which will return the Default color which should be used as the background for my UITableViews, and <em>myTableCellBackgroundColor</em> which defines the default color which should be used as the background for my UITableViewCells (and in some other places in my app).</p>
<h4>The Implementation</h4>
<p>In the Implementation file <em>UIColor+MyApp.m</em> I added the following code :</p>
<p>
<pre><code>
//
//  UIColor+MyApp.m
//  Phocation
//
//  Created by Stefaan Lesage on 11/11/10.
//  Copyright 2010 Devia. All rights reserved.
//

#import "UIColor+MyApp.h"

@implementation UIColor (MyApp)

+ (UIColor *)myTableViewBackgroundColor
{
    UIImage *img = [UIImage imageNamed:@"BG_Pink"];
    return [UIColor colorWithPatternImage:img];
}

+ (UIColor *)myTableCellBackgroundColor
{
    return [UIColor colorWithRed:255/255.0 green:240/255.0 blue:255/255.0 alpha:100];
}

@end
</code></pre>
</p>
<p>Well the implementation is pretty straightforward. For the <em>myTableViewBackgroundColor</em>, I simply return a UIColor based on the pattern in my previous post. The <em>myTableCellBackgroundColor</em> then returns the light pink / purple color which gets used as the background for my UITableViewCells.</p>
<h3>Using the Category</h3>
<p>Using the Category is now pretty Straight Forward. In my Detail View for example, I have a reference to a UITextField called nameTextField and to the tableView beneath it. So in my viewDidLoad I have the following code :</p>
<p>
<pre><code>
- (void)viewDidLoad
{
    [super viewDidLoad];

    /* Load our HeaderView if Necessary */
    [[self view] setBackgroundColor:[UIColor myTableViewBackgroundColor]];
    [[self tableView] setBackgroundColor:[UIColor myTableViewBackgroundColor]];
    [nameTextField setBackgroundColor:[UIColor myTableCellBackgroundColor]];
}
</code></pre>
</p>
<p>Quite simple, isn&#8217;t it ?</p>
<h3>But what are the advantages ?</h3>
<p>For me, it makes my code a little more readable (that is of course a more personal opinion), but what&#8217;s even better is that my code is a lot easier to maintain. If for some reason I want to change my color scheme to use another pattern or another color for the UITableViewCells, I only need to update the code in one sport. Simply modify the Implementation found in UIColor+MyApp.c, build and it&#8217;s done !</p>
<p>Once I found the advantages of this approach, I even added more methods to my UIColor+MyApp category. It now also contains methods which return the color I will be using for the UINavigationBar tine, colors I will be using for different texts in my application, &#8230;</p>
<h3>Feedback</h3>
<p>As with my previous post, there might be better ways to achieve the same thing. If you have a more appropriate approach or solution, feel free to let me know &#8230; I&#8217;m eager to learn <img src='http://cocoaheads.be/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2010/12/making-you-code-easier-to-maintain-using-objective-c-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use a custom background image in your grouped UITableView</title>
		<link>http://cocoaheads.be/wordpress/2010/11/how-to-use-a-custom-background-image-in-your-grouped-uitableview/</link>
		<comments>http://cocoaheads.be/wordpress/2010/11/how-to-use-a-custom-background-image-in-your-grouped-uitableview/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 14:21:32 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[CocoaTouch]]></category>
		<category><![CDATA[Custom Background]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[UIColor]]></category>
		<category><![CDATA[UITableView]]></category>
		<category><![CDATA[UITableViewCell]]></category>
		<category><![CDATA[UITableViewController]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=475</guid>
		<description><![CDATA[For those of you who didn't know it ... a few weeks ago I went to the iOS Bootcamp organized by the folks at Big Nerd Ranch Europe. The course was exactly what I needed to get me started on my own app. Some pieces of the Puzzle came together quite nicely during the course, but ... I wanted more.]]></description>
			<content:encoded><![CDATA[<h4>Introduction</h4>
<p>This is a repost of my <a href="http://bit.ly/hAUp8n">original article</a> which I posted on my own website.  But since it is related to iOS development, I thought it might be interesting for the Cocoaheads Belgium folks as well.</p>
<div id="attachment_473" class="wp-caption alignright" style="width: 210px"><a href="http://cocoaheads.be/wordpress/wp-content/uploads/2010/11/Default_Grouped_TableView.png"><img src="http://cocoaheads.be/wordpress/wp-content/uploads/2010/11/Default_Grouped_TableView-200x300.png" alt="The default grouped UITableView" title="Default_Grouped_TableView" width="200" height="300" class="size-medium wp-image-473" /></a><p class="wp-caption-text">The default grouped UITableView</p></div>
<h4>The default Grouped UITableView looks nice but &#8230;</h4>
<p>Well, you can use the UITableView in it&#8217;s Plain mode, but also in a Grouped mode.  The Grouped mode uses some kind of pattern as the background for the UITableView.  It looks quite nice and is made up of alternating light and darker blue-grayish lines.</p>
<h4>I wanted someting a little more &#8216;Special&#8217; &#8230;</h4>
<p>Although the default look isn&#8217;t all that bad &#8230; I wanted to have something &#8216;special&#8217; for my application.  So I was wondering if there was some way to change the color used in that pattern.  Since I didn&#8217;t know the answer myself, I sent out a tweet. I was hoping someone would pick it up and maybe let me know where I could find some more information on this topic.</p>
<h4>The feedback I got</h4>
<p>I did receive some feedback to my tweet: &#8216;<a href="https://twitter.com/StefaanLesage/status/2335617765613568" title="Is there an easy way to create your own UIColor which looks like the 'Group Table View Color' but with another color scheme ? #iphonedev">Is there an easy way to create your own UIColor which looks like the &#8216;Group Table View Color&#8217; but with another color scheme ? #iphonedev</a>. One of the answers was from <a href="http://blog.amarkulo.com" title="Amar Kulo">Amar Kulo</a> who suggested to supply me with some Photoshop files I could modify.</p>
<p>A few moments later, Amar Kulo even provided me with a complete answer and <a href="http://blog.amarkulo.com/custom-colored-grouped-uitableview-background-image-in-photoshop" title="wrote a blog post about it">wrote a blog post about it</a> to help me out. It is actually pretty easy, so I thought i would share it with the world as well.</p>
<h4>The Trick</h4>
<p>It is actually quite easy to get your own custom background.  You simply have to use a custom background image.  Amar provides a few samples in his blogpost.  The only thing you need to do is open up your favorite Image Editor (in my case Pixelmator), change the colors to you liking and create the necessary versions for your application.  </p>
<h4>The Code</h4>
<p>Once you added the resources to your project, you can simply start using them as the background for your Grouped UITableView.  In my case, it was simple a matter of setting the background color in the ViewDidLoad of my UITableViewController :</p>
<p><code>
<pre>- (void)viewDidLoad
{
    [super viewDidLoad];

    // Uncomment the following line to display an Edit button in the navigation
    // bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
	UIImage *img = [UIImage imageNamed:@"BG_Pink"];
	[[self tableView] setBackgroundColor:[UIColor colorWithPatternImage:img]];
}
</pre>
<p></code></p>
<h4>Feedback</h4>
<div id="attachment_474" class="wp-caption alignright" style="width: 231px"><a href="http://cocoaheads.be/wordpress/wp-content/uploads/2010/11/Result.png"><img src="http://cocoaheads.be/wordpress/wp-content/uploads/2010/11/Result-221x300.png" alt="I ended up with this Bakcground and Color Scheme" title="Result" width="221" height="300" class="size-medium wp-image-474" /></a><p class="wp-caption-text">I ended up with this Bakcground and Color Scheme</p></div>
<p>Well &#8230; This might not be the best way to do it, so if you have any suggestions, feel free to let me know.</p>
<p>Personally, I had to experiment a bit with quite a few different colors before I got something which did looked OK to me, so feel free to experiment as well, and let me know what you come up with</p>
<p>Next time I&#8217;ll be delving a little deeper into some more things I did with my UITableView and UITableViewCell &#8230; but for now &#8230; feel free to post a comment and have a look at the result :</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2010/11/how-to-use-a-custom-background-image-in-your-grouped-uitableview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video &#8211; Automated Testing in an iOS World</title>
		<link>http://cocoaheads.be/wordpress/2010/11/video-automated-testing-in-an-ios-world/</link>
		<comments>http://cocoaheads.be/wordpress/2010/11/video-automated-testing-in-an-ios-world/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 18:22:46 +0000</pubDate>
		<dc:creator>Stefaan Lesage</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Automated Testing]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[CocoaHeadsBE]]></category>
		<category><![CDATA[CocoaTouch]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Eric Bariaux]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Mac Development]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[meeting notes]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://cocoaheads.be/wordpress/?p=464</guid>
		<description><![CDATA[Finally found some time to process the video from last mont's session and have been able to upload it to Vimeo.]]></description>
			<content:encoded><![CDATA[<h4>Video finally Online</h4>
<p>Well, last month <a href="https://twitter.com/ebariaux">Eric Bariaux</a> gave a presentation on Automated Testing in an iOS World during our Cocoaheads Belgium Meeting. I did video tape the session, but didn&#8217;t really find the time to process it yet &#8230; until then end of last week.</p>
<p>So I finally Imported the HDV Tapes, did some color correction, added a few titles, exported the whole thing &#8230; and ended up with a 90 GB file. I had to compress this into a smaller format for uploading and ended up with an 700 something Mb file which I uploaded to Vimeo.</p>
<p><iframe src="http://player.vimeo.com/video/16958642?portrait=0&amp;color=b09e9e" width="608" height="342" frameborder="0"></iframe>
<p><a href="http://vimeo.com/16958642">Automated testing in an iOS World &#8211; Cocoaheads Belgium</a> from <a href="http://vimeo.com/devia">Stefaan Lesage</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<h5>Audio Quality</h5>
<p>I  know the audio quality isn&#8217;t superb &#8230; We did have a lot of noise from the activity in the room next to ours, and I couldn&#8217;t really filter that out without messing up the rest of the audio.  Next time I&#8217;ll try to bring an Audio Interface and a Microphone so we can record the audio separately.</p>
<h5>High Quality Version</h5>
<p>The file I uploaded had a resolution of about 640 x 360 pixels, which is perfect for displaying on an older iPhone / iPod Touch, but somehow low quality for viewing on the iPad. If people are interested in a higher quality version, I could generate an iPad specific version for you, but I won&#8217;t be able to upload that to Vimeo due to the file size.</p>
<h4>Next Meeting</h4>
<p>Well, since we should have had this months meeting yesterday &#8230; we will be skipping it and try to organize the next one on the 20 th December (if that&#8217;s find with everyone). We are still looking for a location or a topic, but we could also make it a &#8216;coding&#8217; session if we can&#8217;t find someone to give a presentation.</p>
<h4>Final Note</h4>
<p>If anyone thinks he can help us out with one of the ideas mentioned in this topic, please do contact us.  If you still have more ideas &#8230; well contact us as well., or even better &#8230; start organizing <img src='http://cocoaheads.be/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Stefaan</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoaheads.be/wordpress/2010/11/video-automated-testing-in-an-ios-world/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

