<?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>Sam&#039;s Blog</title>
	<atom:link href="http://www.samjordan.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.samjordan.co.uk</link>
	<description>PHP, CodeIgniter and other things.</description>
	<lastBuildDate>Tue, 17 Jan 2012 10:53:18 +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>Alfred md5 Extension</title>
		<link>http://www.samjordan.co.uk/2012/01/alfred-md5-extension/</link>
		<comments>http://www.samjordan.co.uk/2012/01/alfred-md5-extension/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 09:32:37 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/?p=160</guid>
		<description><![CDATA[While working at Netsells, I&#8217;ve constantly found myself in need of converting a string to an md5 hash. This took too many steps to do, so I created an extension for the marvellous Alfred. Once installed, you simply launch Alfred (I use cmd+space), type in md5 with a space followed by the string you wish [...]<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.samjordan.co.uk/wp-content/uploads/2012/01/alfred_md5.jpg" alt="" title="alfred_md5" width="560" height="400" class="aligncenter size-full wp-image-161" /></p>
<p>While working at <a href="http://netsells.co.uk">Netsells</a>, I&#8217;ve constantly found myself in need of converting a string to an md5 hash. This took too many steps to do, so I created an extension for the marvellous <a href="http://www.alfredapp.com/">Alfred</a>.</p>
<p>Once installed, you simply launch Alfred (I use cmd+space), type in md5 with a space followed by the string you wish to hash.</p>
<p><img src="http://cl.ly/DNqG/Screen%20Shot%202012-01-17%20at%2009.30.05.png" width="100%" alt="" /></p>
<p>Once it&#8217;s done, you can paste it wherever you need to :) a35a88e89a88dc8e6a7a8dfb0104fdb4</p>
<p><a href="http://cl.ly/DKNo" title="Download Alfred md5 Extension">Download Alfred md5 Extension</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2012/01/alfred-md5-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlusLimit is live!</title>
		<link>http://www.samjordan.co.uk/2011/11/pluslimit-is-live/</link>
		<comments>http://www.samjordan.co.uk/2011/11/pluslimit-is-live/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 17:15:00 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/?p=152</guid>
		<description><![CDATA[I&#8217;m happy to announce that Apple have reviewed and accepted my app. You can grab it from the app store right now! :) More Info &#124; Download App<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.samjordan.co.uk/wp-content/uploads/2011/10/pluslimit.jpg" alt="" title="pluslimit" width="560" height="400" class="alignnone size-full wp-image-111" /></p>
<p>I&#8217;m happy to announce that Apple have reviewed and accepted my app. You can grab it from the app store right now! :)</p>
<p><a href="http://www.samjordan.co.uk/projects/pluslimit/" title="PlusLimit">More Info</a> | <a href="http://itunes.apple.com/gb/app/pluslimit/id477580420?mt=8&#038;uo=4" target="itunes_store">Download App</a></p>
<p><a href="http://itunes.apple.com/gb/app/pluslimit/id477580420?mt=8&#038;uo=4" target="itunes_store"><img src="http://ax.phobos.apple.com.edgesuite.net/images/web/linkmaker/badge_appstore-lrg.gif" alt="PlusLimit - NetSells" style="border: 0;"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2011/11/pluslimit-is-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlusLimit &#8211; a usage tracker for plusnet</title>
		<link>http://www.samjordan.co.uk/2011/11/pluslimit-a-usage-tracker-for-plusnet/</link>
		<comments>http://www.samjordan.co.uk/2011/11/pluslimit-a-usage-tracker-for-plusnet/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 13:46:36 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[allowance]]></category>
		<category><![CDATA[iphone app]]></category>
		<category><![CDATA[PlusLimit]]></category>
		<category><![CDATA[plusnet]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/blog/?p=108</guid>
		<description><![CDATA[I&#8217;ve recently moved over to Plusnet as my broadband provider as I fancied myself a contract-less broadband due to me having to move out of my flat once I finish uni in May time. One thing that bugged me (having a 60GB allowance) was that there was no iPhone app, mobile site or API to [...]<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.samjordan.co.uk/wp-content/uploads/2011/10/pluslimit-beta.jpg" alt="" title="pluslimit-beta" width="560" height="400" class="alignnone size-full wp-image-114" /></p>
<p>I&#8217;ve recently moved over to <a href="http://plus.net" title="Plusnet" target="_blank">Plusnet</a> as my broadband provider as I fancied myself a contract-less broadband due to me having to move out of my flat once I finish uni in May time. One thing that bugged me (having a 60GB allowance) was that there was no iPhone app, mobile site or API to view my current usage without loading their big and slow website.</p>
<p>So&#8230; I decided to make my own API and iPhone app ;) In the first version (currently in a closed beta). I&#8217;ve started off simple and only show your usage this month (as seen in the post&#8217;s header image). With plans to extend to a day-by-day usage view and possible history if people want it.</p>
<p>Update: The app has been submitted to the app store, keep a look out for when it goes live! (I&#8217;m guessing around Wednesday ish)</p>
<p><em>Thanks to <a href="http://www.acejon.co.uk/" title="@AceJon" target="_blank">@AceJon</a> for the icon! :)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2011/11/pluslimit-a-usage-tracker-for-plusnet/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tutorial: Custom iPhone tabbar using Appcelerator Titanium</title>
		<link>http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/</link>
		<comments>http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 15:31:50 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Appcelerator]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tabbar]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/?p=43</guid>
		<description><![CDATA[While working on v2 of the Endeavour iPhone app, I was faced with a need to create a custom tab bar, this seemed a much easier task when using titanium compared to Obj-C! I actually ended up writing a library that is available on the netsells github which I will show you how to use [...]<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-103" title="tabbar" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/tabbar.jpg" alt="" width="560" height="400" /><br />
While working on v2 of the Endeavour iPhone app, I was faced with a need to create a custom tab bar, this seemed a much easier task when using titanium compared to Obj-C! I actually ended up writing a library that is available on the <a href="http://github.com/netsells/customTabBar">netsells github</a> which I will show you how to use in this tutorial.<br />
<span id="more-43"></span><br />
The basic logic behind is all is to hide the existing tab bar (but keep it there for switching windows) and overlay where it should have been with a window containing buttons. Below are the steps you should take to create something shown to create the following</p>
<p><img class="alignnone size-full wp-image-78" title="CustomTabBar Screen" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/Screen-shot-2011-02-13-at-10.07.12.png" alt="" width="320" height="481" /></p>
<p>First off, we need some custom images, I&#8217;ve quickly made the following in photoshop (icky green, I know) to use in this example (I&#8217;m only doing this for the non-retina screen, adding support for retina <em>should</em> be as simple as adding @2x).</p>
<p>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/home/' title='home'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/home.png" class="attachment-thumbnail" alt="home" title="home" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/cloud/' title='cloud'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/cloud.png" class="attachment-thumbnail" alt="cloud" title="cloud" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/cart/' title='cart'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/cart.png" class="attachment-thumbnail" alt="cart" title="cart" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/settings/' title='settings'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/settings.png" class="attachment-thumbnail" alt="settings" title="settings" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/home_over/' title='home_over'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/home_over.png" class="attachment-thumbnail" alt="home_over" title="home_over" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/cloud_over/' title='cloud_over'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/cloud_over.png" class="attachment-thumbnail" alt="cloud_over" title="cloud_over" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/cart_over/' title='cart_over'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/cart_over.png" class="attachment-thumbnail" alt="cart_over" title="cart_over" /></a>
<a href='http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/settings_over/' title='settings_over'><img width="80" height="40" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/settings_over.png" class="attachment-thumbnail" alt="settings_over" title="settings_over" /></a>
<br />
[Icons by <a href="http://glyphish.com/" target="_blank">Joseph Wain</a>]</p>
<p>Next we need to get the library into the project, my project folder is stuck on my desktop so I did the following</p>
<pre class="brush: shell; gutter: true">cd ~/Desktop/testTabApp/Resources
git clone git@github.com:netsells/customTabBar.git</pre>
<p>After git has done it&#8217;s thing you should be able to call the customTabBar library in your app.js.</p>
<p>For the example app show at the beginning of this post, I replaced the contents of app.js with:</p>
<pre class="brush: javascript; gutter: true">// Create the tab group
var tabGroup = Titanium.UI.createTabGroup();

// Assign windows &amp;amp;amp; tabs
// IMPORTANT:
// 'tabBarHidden: true' should be set on all windows
// height should be set to 480 - customTabBar's height
// (change 480 to app screen height)
var win1 = Titanium.UI.createWindow({
title:'Tab 1', height: 440,
tabBarHidden: true, backgroundColor: '#111' });
var tab1 = Titanium.UI.createTab({ window:win1 });

var win2 = Titanium.UI.createWindow({
title:'Tab 2', height: 440,
tabBarHidden: true, backgroundColor: '#999' });
var tab2 = Titanium.UI.createTab({ window:win2 });

var win3 = Titanium.UI.createWindow({
title:'Tab 3', height: 440,
tabBarHidden: true, backgroundColor: '#AAA' });
var tab3 = Titanium.UI.createTab({ window:win3 });

var win4 = Titanium.UI.createWindow({
title:'Tab 4', height: 440,
tabBarHidden: true, backgroundColor: '#FFF' });
var tab4 = Titanium.UI.createTab({ window:win4 });

// Add them to the group
tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
tabGroup.addTab(tab3);
tabGroup.addTab(tab4);

// open tab group
tabGroup.open();

// Here is the magic
Ti.include("customTabBar/customTabBar.js");

var myCustomTabBar = new CustomTabBar({
tabBar: tabGroup,
imagePath: 'iphone/images/',
width: 80,
height: 40,
items: [
{ image: 'home.png', selected: 'home_over.png' },
{ image: 'cloud.png', selected: 'cloud_over.png' },
{ image: 'cart.png', selected: 'cart_over.png' },
{ image: 'settings.png', selected: 'settings_over.png' }
]
});</pre>
<p>As you can see, I&#8217;ve created a standard tabbar, told each window to not show it, then created an instance of the CustomTabBar class and fed it with my settings. If I were to run the app in the simulator, I get the following (woop!):</p>
<p><img class="alignnone size-full wp-image-78" title="CustomTabBar Screen" src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/Screen-shot-2011-02-13-at-10.07.12.png" alt="" width="320" height="481" /></p>
<p>Finally, if you find yourself in need of hiding the newly created tab bar.. (and then showing it&#8230;)</p>
<pre class="brush: javascript; gutter: true">myCustomTabBar.hide(); // Hide the tab bar

// Show after 5 seconds
setTimeout(function() {
myCustomTabBar.show();
}, 5000);</pre>
<p>Hope this helps anyone looking to create a tabbar! Please let me know if you use this in any projects as I love my stuff being used! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>iOS Device Stuck in Game Center Sandbox? Fix Here!</title>
		<link>http://www.samjordan.co.uk/2011/02/ios-device-stuck-in-game-center-sandbox-fix-here/</link>
		<comments>http://www.samjordan.co.uk/2011/02/ios-device-stuck-in-game-center-sandbox-fix-here/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 00:37:42 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[exit]]></category>
		<category><![CDATA[game center]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[no restore]]></category>
		<category><![CDATA[stuck]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/?p=33</guid>
		<description><![CDATA[I&#8217;ve used my iPhone and iPad for development in the past and have always been annoyed with the fact that I was stuck in sandbox mode with 1P42 stuck at the top of the registration form that is shoved in my face when I try and register. Anyway, follow these steps to get back into [...]<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.samjordan.co.uk/wp-content/uploads/2011/02/gamecenter.jpg" alt="" title="gamecenter" width="560" height="400" class="aligncenter size-full wp-image-99" /><br />
I&#8217;ve used my iPhone and iPad for development in the past and have always been annoyed with the fact that I was stuck in sandbox mode with 1P42 stuck at the top of the registration form that is shoved in my face when I try and register. <span id="more-33"></span>Anyway, follow these steps to get back into normal sandbox mode&#8230;</p>
<ol>
<li>Close all apps (not really needed, but simplifies things)</li>
<li>Open game center and create a sandbox account (no need to verify email address)</li>
<li>Log out of this new account by tapping your email address under the 3 boxes.</li>
<li>Close game center and then make sure it&#8217;s removed from the multi-tasking bar</li>
<li>Open a game center enabled game and be presented with the normal game center login!</li>
</ol>
<p>I hope this helps people faced with the same problem I was! Let me know if you have any questions via the comments section :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2011/02/ios-device-stuck-in-game-center-sandbox-fix-here/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Welcome To My New Blog</title>
		<link>http://www.samjordan.co.uk/2011/02/welcome-to-my-new-blog/</link>
		<comments>http://www.samjordan.co.uk/2011/02/welcome-to-my-new-blog/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 19:57:12 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Appcelerator]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[endeavour]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.samjordan.co.uk/?p=8</guid>
		<description><![CDATA[Well, here is yet another edition of my website &#8211; it&#8217;s almost as if I just like to waste time! Over the next few months I&#8217;ll be updating this on various news items, findings and tutorials. I&#8217;ve recently been developing the Endeavour iPhone app, rather than using my usual Objective-C, I&#8217;m giving Appcelerator Titanium a [...]<p class="extra"><a href="http://jarederickson.com/freebies/" title="Jared Erickson" >A minimal wordpress theme by Jared Erickson</a></p>]]></description>
			<content:encoded><![CDATA[<p>Well, here is yet another edition of my website &#8211; it&#8217;s almost as if I just like to waste time! Over the next few months I&#8217;ll be updating this on various news items, findings and tutorials.</p>
<p><span id="more-8"></span></p>
<p>I&#8217;ve recently been developing the <a href="http://www.endeavourfm.co.uk/">Endeavour</a> iPhone app, rather than using my usual Objective-C, I&#8217;m giving <a href="http://www.appcelerator.com/products/titanium-mobile-application-development/">Appcelerator Titanium</a> a go! I have to say, it really is a fantastic framework and piece of software that has allowed me to recreate the entire app with only a few hundred lines as apposed to the thousands that Objective-C treated me with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samjordan.co.uk/2011/02/welcome-to-my-new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

