<?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>iPhone &#38; iPad blog</title>
	<atom:link href="http://phlogy.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://phlogy.com/blog</link>
	<description>your guide to the iPad, iPhone and Apps</description>
	<lastBuildDate>Thu, 26 Apr 2012 16:40:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Guide to finding a seat on the Underground</title>
		<link>http://phlogy.com/blog/uncategorized/guide-to-finding-a-seat-on-the-underground/</link>
		<comments>http://phlogy.com/blog/uncategorized/guide-to-finding-a-seat-on-the-underground/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 16:39:05 +0000</pubDate>
		<dc:creator>ad00</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=362</guid>
		<description><![CDATA[Here is a great guide to getting a seat on the underground. The main points are to head to the center of the main seating spots, and try to judge when people will get getting off. Well worth a read.]]></description>
			<content:encoded><![CDATA[<p>He<a href="http://phlogy.com/blog/wp-content/uploads/2012/04/empty-train.jpg"><img class="alignright size-medium wp-image-363" title="empty-train" src="http://phlogy.com/blog/wp-content/uploads/2012/04/empty-train-300x194.jpg" alt="" width="300" height="194" /></a>re is a great guide to getting a seat on the underground. The main points are to head to the center of the main seating spots, and try to judge when people will get getting off. Well worth a read.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/uncategorized/guide-to-finding-a-seat-on-the-underground/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rainbow over Parliament House</title>
		<link>http://phlogy.com/blog/travel/rainbow-over-parliament-house/</link>
		<comments>http://phlogy.com/blog/travel/rainbow-over-parliament-house/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 16:39:12 +0000</pubDate>
		<dc:creator>ad00</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=365</guid>
		<description><![CDATA[One lucky Londoner managed to spot this great photo. A positive side to all the rain we are having, and all the rain we are going to have. Thinking about heading off to Morocco, get a bit of sun and &#8230; <a href="http://phlogy.com/blog/travel/rainbow-over-parliament-house/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://phlogy.com/blog/wp-content/uploads/2012/04/londonRainbow.jpg"><img class="alignright size-medium wp-image-366" title="londonRainbow" src="http://phlogy.com/blog/wp-content/uploads/2012/04/londonRainbow-300x209.jpg" alt="" width="300" height="209" /></a>One lucky Londoner managed to spot this great photo. A positive side to all the rain we are having, and all the rain we are going to have.</p>
<p>Thinking about heading off to Morocco, get a bit of sun and beach!</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/travel/rainbow-over-parliament-house/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t miss the Globe free day</title>
		<link>http://phlogy.com/blog/uncategorized/dont-miss-the-globe-free-day/</link>
		<comments>http://phlogy.com/blog/uncategorized/dont-miss-the-globe-free-day/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 08:36:56 +0000</pubDate>
		<dc:creator>ad00</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=356</guid>
		<description><![CDATA[Once a year, on the Sunday closest to Shakespeare&#8217;s free day, the Globe has a free open day. Lots of fun, and a great way to get in and see some short plays or sonnets. You also get free entry &#8230; <a href="http://phlogy.com/blog/uncategorized/dont-miss-the-globe-free-day/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://phlogy.com/blog/wp-content/uploads/2012/04/IMG_07361.jpg"><img class="alignright size-medium wp-image-358" title="TheGlobe,London, UK" src="http://phlogy.com/blog/wp-content/uploads/2012/04/IMG_07361-300x225.jpg" alt="" width="300" height="225" /></a>Once a year, on the Sunday closest to Shakespeare&#8217;s free day, the Globe has a free open day. Lots of fun, and a great way to get in and see some short plays or sonnets.</p>
<p>You also get free entry into the Shakespear&#8217;s Museum, and they will have some great food and drink on offer. A nice chance to try some Pimms and a Globe burger.</p>
<p>Shakespeare was born on <em>23 April, 1564</em>, and this years free days was on Sunday, 22nd April 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/uncategorized/dont-miss-the-globe-free-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unlimited 3G Internet in the UK on PAYG</title>
		<link>http://phlogy.com/blog/uncategorized/unlimited-3g-internet-in-the-uk-on-payg/</link>
		<comments>http://phlogy.com/blog/uncategorized/unlimited-3g-internet-in-the-uk-on-payg/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 14:28:22 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=353</guid>
		<description><![CDATA[Three, the phone company, have an amazing deal at the moment. Pay £15 for a PAYG sim card, and you get loads of calls and texts, plus unlimited internet. This is an amazing deal, not matched in Australia and probably &#8230; <a href="http://phlogy.com/blog/uncategorized/unlimited-3g-internet-in-the-uk-on-payg/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Three, the phone company, have an amazing deal at the moment. Pay £15 for a PAYG sim card, and you get loads of calls and texts, plus unlimited internet. This is an amazing deal, not matched in Australia and probably anywhere else. This is not a monthly plan, you can pay for just one month and stop.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/uncategorized/unlimited-3g-internet-in-the-uk-on-payg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easyjet ripping off National Express customers</title>
		<link>http://phlogy.com/blog/uncategorized/easyjet-ripping-off-national-express-customers/</link>
		<comments>http://phlogy.com/blog/uncategorized/easyjet-ripping-off-national-express-customers/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 09:15:40 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=325</guid>
		<description><![CDATA[Easyjet have been selling National Express tickets from the London Airports to the City for quite a while now. But since National Express have introduced their £8 deals per trip, Easyjet have been ripping off customers by charging them £10. &#8230; <a href="http://phlogy.com/blog/uncategorized/easyjet-ripping-off-national-express-customers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Easyjet have been selling National Express tickets from the London Airports to the City for quite a while now. But since National Express have introduced their £8 deals per trip, Easyjet have been ripping off customers by charging them £10. They got me yesterday when flying back from Nice. Instead of buying the ticket on the plane, wait until you get to the bust stop, and get it from one of the friendly National Express people.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/uncategorized/easyjet-ripping-off-national-express-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh no, I have to stay in Cannes</title>
		<link>http://phlogy.com/blog/travel/oh-no-i-have-to-stay-in-cannes/</link>
		<comments>http://phlogy.com/blog/travel/oh-no-i-have-to-stay-in-cannes/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 10:42:11 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=331</guid>
		<description><![CDATA[I ended up missing my flight from Cannes, back to London. It means I had to stay in beautiful sunny Cannes, rather than flying back to the rain and clouds. Fortunately I had met a friendly girl that let me &#8230; <a href="http://phlogy.com/blog/travel/oh-no-i-have-to-stay-in-cannes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I ended up missing my flight from Cannes, back to London. It means I had to stay<a href="http://phlogy.com/blog/wp-content/uploads/2012/04/johnandflo.jpeg"><img class="alignright size-medium wp-image-332" title="Helpful Florence, Cannes, France" src="http://phlogy.com/blog/wp-content/uploads/2012/04/johnandflo-300x225.jpg" alt="" width="300" height="225" /></a> in beautiful sunny Cannes, rather than flying back to the rain and clouds. Fortunately I had met a friendly girl that let me crash with her. Thanks Florence, you saved me.</p>
<p>I also got to see a lot more of MIPtv, a huge TV event, where all the TV show produces come to sell their shows and channels to all the TV Channels around the world. Being a speaker at MIPCube, meant I got special entry to all the events as well.</p>
<p>Somehow on this trip I manages to lose my glasses on the yacht we were staying on, lost my iPhone at the beach at 2am, and my HTC android decided to stop working as well. I think it missed my iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/travel/oh-no-i-have-to-stay-in-cannes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presenting at MIPCube conference in Cannes</title>
		<link>http://phlogy.com/blog/travel/presenting-at-mipcube-conference-in-cannes/</link>
		<comments>http://phlogy.com/blog/travel/presenting-at-mipcube-conference-in-cannes/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 10:36:45 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=328</guid>
		<description><![CDATA[Here I am presenting the two apps that I created for the MIPCube conference in Cannes, France. It was an amazing experience, and I got to see a side of the TV industry that most people do not. You can &#8230; <a href="http://phlogy.com/blog/travel/presenting-at-mipcube-conference-in-cannes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here I am <a href="http://phlogy.com/blog/wp-content/uploads/2012/04/MIPCubeCannesFrance.jpg"><img class="alignright size-medium wp-image-329" title="MIPCube,Cannes,France" src="http://phlogy.com/blog/wp-content/uploads/2012/04/MIPCubeCannesFrance-300x224.jpg" alt="" width="300" height="224" /></a>presenting the two apps that I created for the MIPCube conference in Cannes, France. It was an amazing experience, and I got to see a side of the TV industry that most people do not.</p>
<p>You can read more about my apps at <a title="MIPCube hacks" href="http://hacks.rewiredstate.org/events/boat-hack-at-mipcube-2012">Rewired State</a>. Thanks to Rewired state and Midem for organising this wonderful event.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/travel/presenting-at-mipcube-conference-in-cannes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Villa Francais</title>
		<link>http://phlogy.com/blog/travel/villa-francais/</link>
		<comments>http://phlogy.com/blog/travel/villa-francais/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:52:35 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=335</guid>
		<description><![CDATA[The people at Rewired state and MIPCube have put me up in this hotel for 5 days, how nice of them. Can you believe I never ended up swimming in this pool, the freezing cold water of the beach was &#8230; <a href="http://phlogy.com/blog/travel/villa-francais/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The people at <a href="http://rewiredstate.org/">Rewired state</a> and <a href="http://www.mipworld.com/en/mipcube/">MIPCube</a> have put me up <a href="http://phlogy.com/blog/wp-content/uploads/2012/04/VillaFrancaisCannesFrance.jpg"><img class="alignright  wp-image-336" title="VillaFrancais,Cannes,France" src="http://phlogy.com/blog/wp-content/uploads/2012/04/VillaFrancaisCannesFrance.jpg" alt="" width="400" height="300" /></a>in this hotel for 5 days, how nice of them. Can you believe I never ended up swimming in this pool, the freezing cold water of the beach was just to inviting, at 2 am, 3 seperate times. A trick to going skinny dipping at 2am, when you come out, get dressed immediately, and head for the nearest bar to get some whiskey.</p>
<p>Villa Francais, 33 Avenue Wester Wemyss, 06150 Cannes, France</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/travel/villa-francais/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mohito Yacht, Cannes, France</title>
		<link>http://phlogy.com/blog/travel/mohito-yacht-cannes-france/</link>
		<comments>http://phlogy.com/blog/travel/mohito-yacht-cannes-france/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 11:00:04 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=341</guid>
		<description><![CDATA[This is the amazing Yacht that Rewired State and MIPCube are putting us up on for the weekend. Will see how much work we can get done in these beautiful surroundings. The aim is to come up with apps for &#8230; <a href="http://phlogy.com/blog/travel/mohito-yacht-cannes-france/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the amazing <a href="http://phlogy.com/blog/wp-content/uploads/2012/04/MohitoYachtCannesFrance.jpg"><img class="alignright size-medium wp-image-342" title="Mohito Yacht,Cannes,France" src="http://phlogy.com/blog/wp-content/uploads/2012/04/MohitoYachtCannesFrance-300x225.jpg" alt="" width="300" height="225" /></a>Yacht that Rewired State and MIPCube are putting us up on for the weekend. Will see how much work we can get done in these beautiful surroundings.</p>
<p>The aim is to come up with apps for the TV industry, and helping people stay in touch with their favorite TV shows.</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/travel/mohito-yacht-cannes-france/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Format String for the iPhone NSDateFormatter</title>
		<link>http://phlogy.com/blog/uncategorized/format-string-for-the-iphone-nsdateformatter/</link>
		<comments>http://phlogy.com/blog/uncategorized/format-string-for-the-iphone-nsdateformatter/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 09:58:45 +0000</pubDate>
		<dc:creator>cakesy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phlogy.com/blog/?p=323</guid>
		<description><![CDATA[It is quite common to have to display time information in your app, be it the current time, news feed’s creation date, scheduled meeting time or birthday reminders. However, not all of them are displayed the same way and may &#8230; <a href="http://phlogy.com/blog/uncategorized/format-string-for-the-iphone-nsdateformatter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is quite common to have to display time information in your app, be it the current time, news feed’s creation date, scheduled meeting time or birthday reminders. However, not all of them are displayed the same way and may require different formatting. To do that with Objective-C for iPhone apps, <a href="http://web.archive.org/web/20100213132409/http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/Reference/Reference.html">NSDateFormatter</a> is what we need.</p>
<p>In most cases, you’d just need to use the default styles defined in <a href="http://web.archive.org/web/20100213132409/http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/Reference/Reference.html#//apple_ref/c/tdef/NSDateFormatterStyle">NSDateFormatterStyle</a>.</p>
<div>
<div>
<pre>NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateStyle:NSDateFormatterMediumStyle];
[dateFormatter setTimeStyle:NSDateFormatterShortStyle];
NSLog(@"%@", [dateFormatter stringFromDate:[NSDate date]]);

[dateFormatter release];

// Output: Dec 2, 2008 3:58 PM</pre>
</div>
</div>
<p>But at times, you’d prefer to set your own time format, and that’s where it starts to get tricky.</p>
<p>It is actually quite simple, all you have to do is to create a format string to tell NSDateFormatter how to format your time string.</p>
<div>
<div>
<pre>:
[dateFormatter setDateFormat:@"hh:mm:ss"]
:
// Output: 03:58:27</pre>
</div>
</div>
<p>The problem is, the <a href="http://web.archive.org/web/20100213132409/http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html#//apple_ref/doc/uid/TP40002369-SW1">official documentation from apple</a> doesn’t really tell you what specifiers are available to format your string. Even worse, it doesn’t conform to the <a href="http://web.archive.org/web/20100213132409/http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> standard! What a bummer! And after a bit of searching on the net and still come up short, I have decided to just hack a little bit of code together to dump a list of specifiers and their results.</p>
<p>(EDIT: Apparently, there is now a link to the <a href="http://web.archive.org/web/20100213132409/http://unicode.org/reports/tr35/tr35-6.html#Date_Format_Patterns">Unicode Date Field Symbol Table</a> that Apple follows, even though my test shows that it still doesn’t conform 100% to the standard. Thanks Benjamin and Adam for finding it.)</p>
<div>
<div>
<pre>a:	AM/PM
A:	0~86399999 (Millisecond of Day)

c/cc:	1~7 (Day of Week)
ccc:	Sun/Mon/Tue/Wed/Thu/Fri/Sat
cccc:	Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday

d:	1~31 (0 padded Day of Month)
D:	1~366 (0 padded Day of Year)

e:	1~7 (0 padded Day of Week)
E~EEE:	Sun/Mon/Tue/Wed/Thu/Fri/Sat
EEEE:	Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday

F:	1~5 (0 padded Week of Month, first day of week = Monday)

g:	Julian Day Number (number of days since 4713 BC January 1)
G~GGG:	BC/AD (Era Designator Abbreviated)
GGGG:	Before Christ/Anno Domini

h:	1~12 (0 padded Hour (12hr))
H:	0~23 (0 padded Hour (24hr))

k:	1~24 (0 padded Hour (24hr)
K:	0~11 (0 padded Hour (12hr))

L/LL:	1~12 (0 padded Month)
LLL:	Jan/Feb/Mar/Apr/May/Jun/Jul/Aug/Sep/Oct/Nov/Dec
LLLL:	January/February/March/April/May/June/July/August/September/October/November/December

m:	0~59 (0 padded Minute)
M/MM:	1~12 (0 padded Month)
MMM:	Jan/Feb/Mar/Apr/May/Jun/Jul/Aug/Sep/Oct/Nov/Dec
MMMM:	January/February/March/April/May/June/July/August/September/October/November/December

q/qq:	1~4 (0 padded Quarter)
qqq:	Q1/Q2/Q3/Q4
qqqq:	1st quarter/2nd quarter/3rd quarter/4th quarter
Q/QQ:	1~4 (0 padded Quarter)
QQQ:	Q1/Q2/Q3/Q4
QQQQ:	1st quarter/2nd quarter/3rd quarter/4th quarter

s:	0~59 (0 padded Second)
S:	(rounded Sub-Second)

u:	(0 padded Year)

v~vvv:	(General GMT Timezone Abbreviation)
vvvv:	(General GMT Timezone Name)

w:	1~53 (0 padded Week of Year, 1st day of week = Sunday, NB: 1st week of year starts from the last Sunday of last year)
W:	1~5 (0 padded Week of Month, 1st day of week = Sunday)

y/yyyy:	(Full Year)
yy/yyy:	(2 Digits Year)
Y/YYYY:	(Full Year, starting from the Sunday of the 1st week of year)
YY/YYY:	(2 Digits Year, starting from the Sunday of the 1st week of year)

z~zzz:	(Specific GMT Timezone Abbreviation)
zzzz:	(Specific GMT Timezone Name)
Z:	+0000 (RFC 822 Timezone)</pre>
</div>
</div>
<p>(Letters not listed here did not return any result.)</p>
<p>Basically, you put the above letters together in a NSString to tell NSDateFormatter what to display.</p>
<p>In most cases, you can concatenate a letter together a number of times, and you will get a 0 padded version of it up to the number of letters you have concatenated (eg: @”ssssss” =&gt; @”000059″). In other cases, the longer concatenated version will give a different result (eg: @”M” =&gt; @”12″, @”MMMM” =&gt; @”December”).</p>
<p>Also, some of the different letters seem to be giving out the same results (eg. the q’s &amp; the Q’s), while others have subtle differences (eg. the v’s &amp; the z’s). One of the silly one is the uppercase Y’s, where the year jumps ahead at the end of the year, so unless you really want that, it’s better to just stick with the lowercase y’s.</p>
<p>Stolen from here: http://web.archive.org/web/20100213132409/http://www.stepcase.com/blog/2008/12/02/format-string-for-the-iphone-nsdateformatter/</p>
]]></content:encoded>
			<wfw:commentRss>http://phlogy.com/blog/uncategorized/format-string-for-the-iphone-nsdateformatter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

