<?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>Sebastien Peek&#039;s Blog</title>
	<atom:link href="http://www.sebby.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sebby.net</link>
	<description></description>
	<lastBuildDate>Sun, 11 Dec 2011 11:17:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Buried Treasure</title>
		<link>http://www.sebby.net/2011/12/buried-treasure/</link>
		<comments>http://www.sebby.net/2011/12/buried-treasure/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 11:15:33 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=142</guid>
		<description><![CDATA[Currently my favourite song at the moment, thought I&#8217;d share it with you all. Title comes from one of the comments written on the YouTube video page. Have a look.]]></description>
			<content:encoded><![CDATA[<p>Currently my favourite song at the moment, thought I&#8217;d share it with you all.<br />
Title comes from one of the comments written on the YouTube video page.</p>
<p>Have a look.</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/IaZMST-vHfM" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/12/buried-treasure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The magic number!</title>
		<link>http://www.sebby.net/2011/12/the-magic-number/</link>
		<comments>http://www.sebby.net/2011/12/the-magic-number/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 19:50:03 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=137</guid>
		<description><![CDATA[Well, not very long ago I sent out a tweet to a few people that I deem great iOS developers. It is no question that they are great in the iOS community and I didn&#8217;t necessarily expect a reply. However, a couple of them responded almost instantaneously. One being @SteveStreza and the other being @mattgemmell. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, not very long ago I sent out a tweet to a few people that I deem great iOS developers.<br />
It is no question that they are great in the iOS community and I didn&#8217;t necessarily expect a reply.</p>
<p>However, a couple of them responded almost instantaneously. One being <a href="http://twitter.com/SteveStreza">@SteveStreza</a> and the other being <a href="http://twitter.com/mattgemmell">@mattgemmell</a>.</p>
<p>The tweet itself was asking about what their magic UIAnimation length was. Steve replied 0.3 seconds and Matt replied 0.2. It was up to me on what to decide was my magic number (I had previously been using 0.4 seconds) and I chose to give Steve&#8217;s a shot first. The motion was fluid and almost in tie with my swipe down, but Matt&#8217;s suggestion was a lot more &#8220;choppy&#8221; and instantaneous, it wasn&#8217;t pretty in other words.<br />
<em>I must mention that Matt did state that he didn&#8217;t look at the code itself and did only guess 0.2 as a spur of the moment answer to my question.</em></p>
<p>I still haven&#8217;t played with UIAnimations enough within blocks to make the jump so unfortunately for me (it makes my code messy and I hate messy code with a passion) I&#8217;m still building them the old school way like below. I may make the jump soon though and play around with the block style of UIAnimations within the near future.<br />
<code><br />
        [UIView beginAnimations:nil context:nil];<br />
	[UIView setAnimationDuration:0.3];<br />
	// Change the frame of what you want to make animate.<br />
	[UIView commitAnimations];<br />
</code></p>
<p>Until then, 0.3 seconds is the magic number for a UIAnimation duration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/12/the-magic-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An addiction worth mentioning&#8230;</title>
		<link>http://www.sebby.net/2011/12/an-addiction-worth-mentioning/</link>
		<comments>http://www.sebby.net/2011/12/an-addiction-worth-mentioning/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 08:19:56 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[Zelda]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=133</guid>
		<description><![CDATA[If anyone knows who I am, you know that I am addicted to old VW bugs. You&#8217;re also very aware that I own one, and she is called Zelda. Naming her after the first game I played on the Nintendo 64, I think you can guess what it was called, I have fallen in love [...]]]></description>
			<content:encoded><![CDATA[<p>If anyone knows who I am, you know that I am addicted to old VW bugs. You&#8217;re also very aware that I own one, and she is called Zelda.</p>
<p>Naming her after the first game I played on the Nintendo 64, I think you can guess what it was called, I have fallen in love with a car. Obviously not the same sort of love I have for my misses, but it is a bond between car and owner. Zelda is a 1303 (otherwise known as an L bug) and was born in 1973. Her McPherson strut front end makes it a very sought after car for those Germanlook beetles. Zelda however, has seen a few different changes over the past seven or so months&#8230;</p>
<p>Originally looking like something out of the mid 80&#8242;s, she had been fitted with a (Holden) Torana kit that was available in the 80&#8242;s from somewhere in Australia.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/SAM_0325.jpg" width="640" height="480" /></p>
<p>Her and I have gone through a lot, she is a bit of a lemon and I continue to fix things that don&#8217;t need to be fixed. Typical case of &#8220;catching the bug&#8221;. As most people say, Beetle&#8217;s are more addictive than drugs. But back to it, Zelda had a bit of a leak and that needed to be fixed. Unfortunately, due to the bulbos front lid and the new style of dash that was installed in the 1303 there was a need for what is called an airbox. This is underneath the front lid, and unfortunately it was a massive design flaw from VW. Thankfully, with a bit of initiative, I was able to fix this leak and restore Zelda to a nice daily driver.</p>
<p>Then came the sound system. What daily driver car of a seventeen year old doesn&#8217;t have a sound system, regardless of the age of the car? It happened and bloody hell it is a good sound system. Solely two speakers from JVC and a Fusion Active subwoofer, it is one of the loudest sound systems within our group, in a bug!<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/IMG_0391.jpg" width="640" height="480" /></p>
<p>But of course, that caused more problems. There was more strain put on the old 1500 single port (supposed to be a 1600 dual port engine in this model but has obviously changed at some period of her life) as it only had a generator and not an alternator. So that was the next upgrade that I did to her.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/DSC_0635.jpg" width="640" height="480" /></p>
<p>I then took off the rear bumper as that was a bit dicky. I drove her around without a rear bumper up until the other week. But that is jumping ahead, next came the ripping off of the exterior chrome trim. That was quite fun to tell you the truth, filling in the holes and then spraying some primer onto her. Making it look like someone had put toothpaste down the side.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/DSC_0660.jpg" width="640" height="480" /></p>
<p>She then had a ventless decklid on for a tiny second.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/DSC_0659.jpg" width="640" height="480" /></p>
<p>She then had a popped vent decklid on for a bit too. About a day and a half.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/DSC_0002.jpg" width="640" height="480" /></p>
<p>And then it happened. Zelda died for about three weeks and I had given up hope. But then I got my act into gear and fixed her. Then, I got her all looking original and very pretty indeed.<br />
<img src="http://i1099.photobucket.com/albums/g388/SebastienPeek/IMG_0364-2.jpg" width="640" height="480" /></p>
<p>But then I had to leave her. That previous photo is one of the last ones I was able to take before heading overseas. I&#8217;m excited for when I get back home as I&#8217;ve got more in store for Zelda. She&#8217;s got some new wheels coming down and some new adjustable coil overs. I wanted to get some air bags for her but it isn&#8217;t as simple to do so on a 1303, due to the McPherson strut front end.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/12/an-addiction-worth-mentioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is going on?!</title>
		<link>http://www.sebby.net/2011/12/what-is-going-on/</link>
		<comments>http://www.sebby.net/2011/12/what-is-going-on/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 19:58:59 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=105</guid>
		<description><![CDATA[Well, I&#8217;m in London, who would have thought?! After spending two days, three nights, in Singapore and a massive flight over to London, we finally arrived to be thrown into a massive immigration line. I took a heap of photos in Singapore, with the new Nikon D3100 that I bought, so they&#8217;ll be popping up [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;m in London, who would have thought?!</p>
<p>After spending two days, three nights, in Singapore and a massive flight over to London, we finally arrived to be thrown into a massive immigration line. I took a heap of photos in Singapore, with the new Nikon D3100 that I bought, so they&#8217;ll be popping up every now and then when I finally sit down and sort them. Everything has been rushrushrush lately, have done a lot of sightseeing and just haven&#8217;t stopped yet, been working as well, reading the Steve Jobs biography and taking lots of photos.</p>
<p>I have to admit though, although we&#8217;re here for eight days the place is a little, well, little. I have to sleep on the couch which is kinda balls, but it&#8217;ll do for now. After those eight days we head to Paris on the EuroStar which will also be an adventure, so to speak.</p>
<p>The only issue is that I have to go from WiFi spot to WiFi spot to keep connected to texting the misses. It sucks quite a bit, but I think we&#8217;re coping. Now the next issue is time differences, but I&#8217;m pretty sure we&#8217;ll get through it&#8230;</p>
<p>I just want to be home.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/12/what-is-going-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking for RecBoot?</title>
		<link>http://www.sebby.net/2011/11/looking-for-recboot/</link>
		<comments>http://www.sebby.net/2011/11/looking-for-recboot/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 12:45:06 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[RecBoot]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=90</guid>
		<description><![CDATA[You&#8217;ve probably arrived at this website looking for RecBoot, right? Well, you have definitely come to the right place! There are multiple versions that are currently floating around, but want the latest one? Just download it from here. It is, for the last time, only a Mac application. I&#8217;m pretty sure there are Windows applications [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably arrived at this website looking for RecBoot, right?</p>
<p>Well, you have definitely come to the right place!<br />
There are multiple versions that are currently floating around, but want the latest one?</p>
<p>Just download it from <a href="http://sebby.net/recboot-mac/recboot_2_2.zip">here.</a><br />
It is, for the last time, only a Mac application. I&#8217;m pretty sure there are Windows applications that achieve the same thing, but seriously don&#8217;t understand why people download it and expect it to work on a Windows machine even though it is clearly a Mac application.</p>
<p>Anyway, good luck in whatever you are using RecBoot for and if you need a hand, I&#8217;ll try and lend a hand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/11/looking-for-recboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using NSNotificationCenter!</title>
		<link>http://www.sebby.net/2011/11/using-nsnotificationcenter/</link>
		<comments>http://www.sebby.net/2011/11/using-nsnotificationcenter/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 02:13:22 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=75</guid>
		<description><![CDATA[Something I have learnt in the last couple of weeks. Using NSNotificationCenter, you can actually do some very cool stuff. Take for example, you&#8217;re doing a web service request and what it returns, determines the next screen that you want to show in your iPhone application. What you&#8217;d want to do is setup some observers [...]]]></description>
			<content:encoded><![CDATA[<p>Something I have learnt in the last couple of weeks.</p>
<p>Using NSNotificationCenter, you can actually do some very cool stuff.<br />
Take for example, you&#8217;re doing a web service request and what it returns, determines the next screen that you want to show in your iPhone application.</p>
<p>What you&#8217;d want to do is setup some observers on the view that starts the request. This is quite easy. We&#8217;ll setup two NSNotificationCenter observers, one for a fail and one for a success. I usually do this in the <em>initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil</em> function.</p>
<pre name="code" class="c++">
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        self.navigationItem.title = @"NSNotificationCenter Demo";
        [[NSNotificationCenter defaultCenter] addObserver:self
                                                 selector:@selector(success:)
                                                     name:@"webServiceSuccess"
                                                   object:nil];

        [[NSNotificationCenter defaultCenter] addObserver:self
                                                 selector:@selector(fail:)
                                                     name:@"webServiceFail"
                                                   object:nil];
    }
    return self;
}
</pre>
<p>The next thing we want to do is setup the functions that the observers point too. Basically create two new functions and determine what you want them to do. In this case, I&#8217;ll show a UIAlertView.</p>
<pre name="code" class="c++">
- (void)success:(NSNotification *)notification {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Notification"
                                                        message:@"We received a success notification!"
                                                       delegate:self
                                              cancelButtonTitle:@"Okay"
                                              otherButtonTitles:nil];

[alert show];
[alert release];
}
</pre>
<p>Now, obviously the above code is very similar to the code we&#8217;d use for the failure UIAlertView so I&#8217;m not going to document that as thoroughly. Basically just create another function with the correct name that you have set in the selector for the NSNotificationCenter observer.</p>
<p>Don&#8217;t forget, in your &#8211; (void)dealloc method, make sure you remove the UIViewController&#8217;s observers!</p>
<pre name="code" class="c++">
- (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
[super dealloc];
}
</pre>
<p>I usually do all my web service requests through a custom NSObject that I setup with methods and so forth. For the sake of this, I&#8217;m going to assume you know how to setup connections and send requests to a web service. When you get a response, you&#8217;ll want to add in the following so that the NSNotificationCenter observers we just set up get called.</p>
<p>If the return of the request was successful, you&#8217;ll want to add this to the function that you determine whether or not the actual request was a success.</p>
<pre name="code" class="c++">
[[NSNotificationCenter defaultCenter] postNotificationName:@"webServiceSuccess" object:nil];
</pre>
<p>Similarily, in the error response you&#8217;ll want to add this.</p>
<pre name="code" class="c++">
[[NSNotificationCenter defaultCenter] postNotificationName:@"webServiceFail" object:nil];
</pre>
<p>And there you have it, a quick run through on the ways to use NSNotificationCenter when coupled with web service requests and responses. Hopefully this helps someone out there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/11/using-nsnotificationcenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with iPhone/iPad URL Schemes</title>
		<link>http://www.sebby.net/2011/11/working-with-iphoneipad-url-schemes/</link>
		<comments>http://www.sebby.net/2011/11/working-with-iphoneipad-url-schemes/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 14:30:41 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=62</guid>
		<description><![CDATA[I stumbled across I very helpful wiki the other day that is sure to help a few people that visit this website. It basically lists all the commonly used iPhone/iPad Application URL Schemes. You can check the website out here. Keep an eye on this space for more helpful information and tutorials!]]></description>
			<content:encoded><![CDATA[<p>I stumbled across I very helpful wiki the other day that is sure to help a few people that visit this website.</p>
<p>It basically lists all the commonly used iPhone/iPad Application URL Schemes.<br />
You can check the website out <a href="http://wiki.akosma.com/IPhone_URL_Schemes">here</a>.</p>
<p>Keep an eye on this space for more helpful information and tutorials!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/11/working-with-iphoneipad-url-schemes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just a quick rant.</title>
		<link>http://www.sebby.net/2011/11/just-a-quick-rant/</link>
		<comments>http://www.sebby.net/2011/11/just-a-quick-rant/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 14:27:32 +0000</pubDate>
		<dc:creator>Sebastien Peek</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.sebby.net/?p=59</guid>
		<description><![CDATA[In Australia, students that have finally graduated after 13 years of wasting their lives at school seem to hit up all the party places around Australia. They tend to get drunk, absolutely smashed actually, and end up doing a lot of crazy shit. It started about six hours ago and there are already teenagers (mind [...]]]></description>
			<content:encoded><![CDATA[<p>In Australia, students that have finally graduated after 13 years of wasting their lives at school seem to hit up all the party places around Australia. They tend to get drunk, absolutely smashed actually, and end up doing a lot of crazy shit. It started about six hours ago and there are already teenagers (mind you, most of them won&#8217;t be legal) drinking alcohol, doing drugs, and all other shit that just doesn&#8217;t make sense to me.</p>
<p>I don&#8217;t understand what the massive hoopla is about when it comes to drinking alcohol, partying hard and getting with as many girls as possible. It just doesn&#8217;t make sense. People play games that are disgusting, people &#8220;pick up chicks&#8221; for a one night stand. I don&#8217;t get it.</p>
<p>Unfortunately I tend to have a few mates that actually are like this, every weekend. One in particular can be a bit of a handful and no doubt, come next Monday/Tuesday there will be a million stories about what he did over this weekend. In some ways it makes me sick, in some ways I just laugh at his stupidity. I wish he could find himself someone that he could care for and love.</p>
<p>To me, I&#8217;ve found the one person I want to spend the rest of my life with. Yeah, I&#8217;m only seventeen, but seriously, after spending the last four (almost) years with my girlfriend, I can truly say that I do love her. I love her with my whole being, and I don&#8217;t think there is anything that could tear us apart. I have already promised her that I will marry her one day, and it is definitely a promise that I am not going to break. It is something that we both want, albeit I think sometimes I want it a little more than she does, but then again I still know that when it comes to it, we&#8217;re both going to be together for a long time yet.</p>
<p>Anyway, back to the main issue. This weekend is &#8220;Schoolies&#8221;, a annual celebration for teenagers that have finished their final year of school here in Australia. They party hard, get absolutely fucked up and then return to normal lives after. But for some people it is completely different. I have heard way too many stories about schoolies trips going wrong, people ending up pregnant, in jail, all sorts of things. Over dosing on drugs is also a large one, even getting stomachs pumped at the local hospital is seen as a funny thing when everyone is absolutely pissed out of their mind.</p>
<p>I don&#8217;t feel the need to experience any of that. At eighteenths that I have gone too, a couple of Red Bull&#8217;s help me get through the night. Most of the time I am there to drive my drunk mates home or back to mine so they can crash.</p>
<p>I&#8217;m not a drinker, I&#8217;m nothing but a programmer. This is where I&#8217;ll let off steam, post great little coding snippets and share my adventures across Europe. Which is another story altogether. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebby.net/2011/11/just-a-quick-rant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

