<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:go='http://ns.gigaom.com/'
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: iPhone Dev Sessions: How To Make An Orientation-Aware Clock</title>
	<atom:link href="http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/</link>
	<description></description>
	<lastBuildDate>Sat, 26 May 2012 22:55:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: David</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-574603</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Thu, 13 Jan 2011 06:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-574603</guid>
		<description><![CDATA[This could be because you haven&#039;t declared the myTicker variable in the header of your viewcontroller header.]]></description>
		<content:encoded><![CDATA[<p>This could be because you haven&#8217;t declared the myTicker variable in the header of your viewcontroller header.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343278</link>
		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Sat, 04 Sep 2010 14:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343278</guid>
		<description><![CDATA[hi i am a beginner in objective-c and would like to know if that is the way you would clean up memory:

- (void) showActivity
{
	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
	NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
	NSDate *date = [[[NSDate alloc] init] autorelease];
	
	[formatter setTimeStyle:NSDateFormatterMediumStyle];
	
	//change font size by orientation
	int fontSize=90;
	if([[UIDevice currentDevice] orientation]==UIInterfaceOrientationPortrait) fontSize=48;
	clockLabel.font = [UIFont fontWithName:@&quot;Helvetica&quot; size:fontSize];
	
	[clockLabel setText:[formatter stringFromDate:date]];
	
	[pool release];
}]]></description>
		<content:encoded><![CDATA[<p>hi i am a beginner in objective-c and would like to know if that is the way you would clean up memory:</p>
<p>- (void) showActivity<br />
{<br />
	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];</p>
<p>	NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];<br />
	NSDate *date = [[[NSDate alloc] init] autorelease];</p>
<p>	[formatter setTimeStyle:NSDateFormatterMediumStyle];</p>
<p>	//change font size by orientation<br />
	int fontSize=90;<br />
	if([[UIDevice currentDevice] orientation]==UIInterfaceOrientationPortrait) fontSize=48;<br />
	clockLabel.font = [UIFont fontWithName:@"Helvetica" size:fontSize];</p>
<p>	[clockLabel setText:[formatter stringFromDate:date]];</p>
<p>	[pool release];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HASAN AYDIN</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343277</link>
		<dc:creator><![CDATA[HASAN AYDIN]]></dc:creator>
		<pubDate>Thu, 08 Jul 2010 14:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343277</guid>
		<description><![CDATA[if you want to increase font size when landscape mode;

Add belove this codd
    // This will produce a time that looks like &quot;12:15:00 PM&quot;.
    [formatter setTimeStyle:NSDateFormatterMediumStyle];

    //change font size by orientation
	int fontSize=90;
	if([[UIDevice currentDevice] orientation]==UIInterfaceOrientationPortrait) fontSize=48;
	clockLabel.font = [UIFont fontWithName:@&quot;Helvetica&quot; size:fontSize];]]></description>
		<content:encoded><![CDATA[<p>if you want to increase font size when landscape mode;</p>
<p>Add belove this codd<br />
    // This will produce a time that looks like &#8220;12:15:00 PM&#8221;.<br />
    [formatter setTimeStyle:NSDateFormatterMediumStyle];</p>
<p>    //change font size by orientation<br />
	int fontSize=90;<br />
	if([[UIDevice currentDevice] orientation]==UIInterfaceOrientationPortrait) fontSize=48;<br />
	clockLabel.font = [UIFont fontWithName:@"Helvetica" size:fontSize];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343276</link>
		<dc:creator><![CDATA[Matthew]]></dc:creator>
		<pubDate>Fri, 02 Jul 2010 23:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343276</guid>
		<description><![CDATA[Nice clear tutorial, but I&#039;m getting the &quot;quits at launch&quot; problem too.  Builds fine.

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Nice clear tutorial, but I&#8217;m getting the &#8220;quits at launch&#8221; problem too.  Builds fine.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dkk</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343275</link>
		<dc:creator><![CDATA[dkk]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 16:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343275</guid>
		<description><![CDATA[&lt;p&gt;you probably forgot to include NSTimer *myTicker; at the .h file&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>you probably forgot to include NSTimer *myTicker; at the .h file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taylor Blau</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343274</link>
		<dc:creator><![CDATA[Taylor Blau]]></dc:creator>
		<pubDate>Fri, 21 May 2010 20:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343274</guid>
		<description><![CDATA[&lt;p&gt;When I enter this line of code:
// This starts the timer which fires the showActivity
    // method every 0.5 seconds
    myTicker = [NSTimer scheduledTimerWithTimeInterval: 0.5
                                                target: self
                                              selector: @selector(showActivity)
                                              userInfo: nil
                                               repeats: YES];&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;It gives me a build error that myTicker is undefined.&lt;/p&gt;

&lt;p&gt;Can anyone help me?&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>When I enter this line of code:<br />
// This starts the timer which fires the showActivity<br />
    // method every 0.5 seconds<br />
    myTicker = [NSTimer scheduledTimerWithTimeInterval: 0.5<br />
                                                target: self<br />
                                              selector: @selector(showActivity)<br />
                                              userInfo: nil<br />
                                               repeats: YES];</p>
<p>}</p>
<p>It gives me a build error that myTicker is undefined.</p>
<p>Can anyone help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ju</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343273</link>
		<dc:creator><![CDATA[Ju]]></dc:creator>
		<pubDate>Thu, 13 May 2010 21:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343273</guid>
		<description><![CDATA[&lt;p&gt;Could you send me the source code for this? I get tons of errors when I build and run.  It may be because this was developed over a year ago or maybe because I don&#039;t know what i&#039;m doing.  Let me know if you know something I don&#039;t.  Thanks so much :) Great tutorial.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Could you send me the source code for this? I get tons of errors when I build and run.  It may be because this was developed over a year ago or maybe because I don&#8217;t know what i&#8217;m doing.  Let me know if you know something I don&#8217;t.  Thanks so much :) Great tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Develop your own iPhone app — Your Design Blog</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343272</link>
		<dc:creator><![CDATA[Develop your own iPhone app — Your Design Blog]]></dc:creator>
		<pubDate>Tue, 11 May 2010 15:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343272</guid>
		<description><![CDATA[&lt;p&gt;[...] Link [...]&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>[...] Link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Johann</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343271</link>
		<dc:creator><![CDATA[Michael Johann]]></dc:creator>
		<pubDate>Tue, 06 Apr 2010 11:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343271</guid>
		<description><![CDATA[&lt;p&gt;Thank you for a really great tutorial.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Thank you for a really great tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to make your iPhone application accelerometer / rotation aware ? &#124; iphone place</title>
		<link>http://gigaom.com/apple/iphone-dev-sessions-how-to-make-an-orientation-aware-clock/#comment-343270</link>
		<dc:creator><![CDATA[How to make your iPhone application accelerometer / rotation aware ? &#124; iphone place]]></dc:creator>
		<pubDate>Mon, 22 Mar 2010 21:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=20939#comment-343270</guid>
		<description><![CDATA[[...] very detailed iPhone Development tutorial in which author uses the example of a digital clock to describe how the app can handle the rotation [...]]]></description>
		<content:encoded><![CDATA[<p>[...] very detailed iPhone Development tutorial in which author uses the example of a digital clock to describe how the app can handle the rotation [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
