<?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/"
		>
<channel>
	<title>Comments on: Creating an iPad flip-clock with Core Animation</title>
	<atom:link href="http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/</link>
	<description>Programming and debugging tidbits</description>
	<lastBuildDate>Wed, 04 Jan 2012 23:07:52 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Looking back at 2011</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-1038</link>
		<dc:creator>Looking back at 2011</dc:creator>
		<pubDate>Wed, 04 Jan 2012 23:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-1038</guid>
		<description>[...] and getting things &#8216;just right&#8217; &#8211; takes at least 80% of the time. My 2010 post on Core Animation flip clocks continues to get a lot of traffic, and I finally bit the bullet and posted a (free!) app that uses [...]</description>
		<content:encoded><![CDATA[<p>[...] and getting things &#8216;just right&#8217; &#8211; takes at least 80% of the time. My 2010 post on Core Animation flip clocks continues to get a lot of traffic, and I finally bit the bullet and posted a (free!) app that uses [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-988</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Tue, 21 Sep 2010 18:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-988</guid>
		<description>I love your tutorial, but I&#039;m new to CoreAnimation, could you be so kind to upload the code or project??</description>
		<content:encoded><![CDATA[<p>I love your tutorial, but I&#8217;m new to CoreAnimation, could you be so kind to upload the code or project??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhaval Trivedi</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-987</link>
		<dc:creator>Dhaval Trivedi</dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-987</guid>
		<description>Hi Ian,

Can you share the code for - if not anything, just the flip animation of two parts? I&#039;m a newbie and though I somehow did manage to get the top flip animation working, I&#039;m clueless on bottom animation, and changing the content. It&#039;ll be a great help.

Best,
Dhaval</description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>Can you share the code for &#8211; if not anything, just the flip animation of two parts? I&#8217;m a newbie and though I somehow did manage to get the top flip animation working, I&#8217;m clueless on bottom animation, and changing the content. It&#8217;ll be a great help.</p>
<p>Best,<br />
Dhaval</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shrey</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-986</link>
		<dc:creator>shrey</dc:creator>
		<pubDate>Thu, 16 Sep 2010 05:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-986</guid>
		<description>hey Ian...

Thanks alot..... great tutorial for the newbies like me.... :)
can u please provide us with the full code?? :)

i am working on the same animation but i dun&#039;t want to show the break in the image on the rotation axis, is it possible???? :-s

also i want to flip it through Y-axis..just like a book filp...and that too from both the sides, left-to-right and right-to-left...what shoud i do??? :-s</description>
		<content:encoded><![CDATA[<p>hey Ian&#8230;</p>
<p>Thanks alot&#8230;.. great tutorial for the newbies like me&#8230;. <img src='http://www.voyce.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
can u please provide us with the full code?? <img src='http://www.voyce.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>i am working on the same animation but i dun&#8217;t want to show the break in the image on the rotation axis, is it possible???? :-s</p>
<p>also i want to flip it through Y-axis..just like a book filp&#8230;and that too from both the sides, left-to-right and right-to-left&#8230;what shoud i do??? :-s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kichigai</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-977</link>
		<dc:creator>kichigai</dc:creator>
		<pubDate>Fri, 30 Jul 2010 01:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-977</guid>
		<description>Thanks Ian. This post has helped me a lot.</description>
		<content:encoded><![CDATA[<p>Thanks Ian. This post has helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Krenge</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-969</link>
		<dc:creator>Julian Krenge</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-969</guid>
		<description>Thanks for your response, Ian.

I understand your comment on the animation, this obvious solution somehow didn&#039;t occur to me. Also your arguments on the 3D-animation vs. images are very valid. As you stated in your initial post, it&#039;s also a lot work to create the animations manually.

In the meantime I finished the animation as well, only with a slight difference to your approach. I was to lazy changing the flip-layers content in the middle, so I use one layer flipping up and one layer flipping down. Maybe I will refactor it, but chances are high that I will be too lazy to do so. Also, I loading images into the layers because I wanted to achieve a more detailed graphic.

If you&#039;re interested, here&#039;s a brief - and not very well done - video of the animation: http://www.youtube.com/watch?v=tRkSmJwbbVg

I wanted to thank you again for this post. I am a total newby to Xcode and Cocoa Touch, although I know how to code in general. To get familiar with the environment I wanted to create a little app and this flip-clock style was one element of it. Your post is the perfect trade-off of guidance vs. encouraging learning. I learned a lot recreating that animation and also understood the concepts behind it. Your code snippets are a very well-balanced guide through the process, but don&#039;t give too much information so that one just copies the code. Really, really great stuff. Seriously. :-)</description>
		<content:encoded><![CDATA[<p>Thanks for your response, Ian.</p>
<p>I understand your comment on the animation, this obvious solution somehow didn&#8217;t occur to me. Also your arguments on the 3D-animation vs. images are very valid. As you stated in your initial post, it&#8217;s also a lot work to create the animations manually.</p>
<p>In the meantime I finished the animation as well, only with a slight difference to your approach. I was to lazy changing the flip-layers content in the middle, so I use one layer flipping up and one layer flipping down. Maybe I will refactor it, but chances are high that I will be too lazy to do so. Also, I loading images into the layers because I wanted to achieve a more detailed graphic.</p>
<p>If you&#8217;re interested, here&#8217;s a brief &#8211; and not very well done &#8211; video of the animation: <a href="http://www.youtube.com/watch?v=tRkSmJwbbVg" rel="nofollow">http://www.youtube.com/watch?v=tRkSmJwbbVg</a></p>
<p>I wanted to thank you again for this post. I am a total newby to Xcode and Cocoa Touch, although I know how to code in general. To get familiar with the environment I wanted to create a little app and this flip-clock style was one element of it. Your post is the perfect trade-off of guidance vs. encouraging learning. I learned a lot recreating that animation and also understood the concepts behind it. Your code snippets are a very well-balanced guide through the process, but don&#8217;t give too much information so that one just copies the code. Really, really great stuff. Seriously. <img src='http://www.voyce.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ian</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-967</link>
		<dc:creator>ian</dc:creator>
		<pubDate>Sun, 11 Jul 2010 19:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-967</guid>
		<description>Thanks for the comments Julian.

The answer to your question is that first state has knowledge of the next number to be displayed; so before flipping down the moving piece the &#039;static&#039; top piece can display it. That&#039;s what&#039;s in the first of the 4 images in the graphic. There shouldn&#039;t be any &#039;fudging&#039; required!

This approach may use marginally more CPU cycles than a simple animation, but I don&#039;t have any figures to hand. Some of the cost will be upfront in splitting the images. Bear in mind that it will require less storage and therefore your binary will be smaller and possibly faster to load. There are trade-offs.</description>
		<content:encoded><![CDATA[<p>Thanks for the comments Julian.</p>
<p>The answer to your question is that first state has knowledge of the next number to be displayed; so before flipping down the moving piece the &#8217;static&#8217; top piece can display it. That&#8217;s what&#8217;s in the first of the 4 images in the graphic. There shouldn&#8217;t be any &#8216;fudging&#8217; required!</p>
<p>This approach may use marginally more CPU cycles than a simple animation, but I don&#8217;t have any figures to hand. Some of the cost will be upfront in splitting the images. Bear in mind that it will require less storage and therefore your binary will be smaller and possibly faster to load. There are trade-offs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Krenge</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-965</link>
		<dc:creator>Julian Krenge</dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-965</guid>
		<description>This is a great concept you&#039;re presenting there. I also thought that this flip-clock style would look awesome in my app. Initially I wanted to created the animations manually but your concept seems far more convincing since it lowers overhead a lot. 

I have a question though. You mentioned, that you&#039;re using a state machine with three states. But this somehow implies, that you first finish the whole animation and afterwards display the correct number. But right after the start of the animation, which means about half through the state TopToMiddle the user is able to see the non-updated top-half of the digit. Is this correct? For instance, when you switch from 1 to 2, you acutally flip from 1 to 1 and then change the number to 2? Anyhow, I cannot observe this behaviour in the video. Is this just because my eyes are not fast enough to track the, lets call it, inaccuracy?

Another question regards the use of the animations: do you have any information on the energy consumption of a app which uses Core Animation rather than animated images?

But again, thanks a lot for sharing your thoughts, I&#039;d really helped me a lot. Also, if you wouldn&#039;t mind sharing the code, I would appreciate it a lot as well. Although I&#039;m not sure whether this will help more than confuse me. ;-)

Like you blog, keep up the good work! :-)</description>
		<content:encoded><![CDATA[<p>This is a great concept you&#8217;re presenting there. I also thought that this flip-clock style would look awesome in my app. Initially I wanted to created the animations manually but your concept seems far more convincing since it lowers overhead a lot. </p>
<p>I have a question though. You mentioned, that you&#8217;re using a state machine with three states. But this somehow implies, that you first finish the whole animation and afterwards display the correct number. But right after the start of the animation, which means about half through the state TopToMiddle the user is able to see the non-updated top-half of the digit. Is this correct? For instance, when you switch from 1 to 2, you acutally flip from 1 to 1 and then change the number to 2? Anyhow, I cannot observe this behaviour in the video. Is this just because my eyes are not fast enough to track the, lets call it, inaccuracy?</p>
<p>Another question regards the use of the animations: do you have any information on the energy consumption of a app which uses Core Animation rather than animated images?</p>
<p>But again, thanks a lot for sharing your thoughts, I&#8217;d really helped me a lot. Also, if you wouldn&#8217;t mind sharing the code, I would appreciate it a lot as well. Although I&#8217;m not sure whether this will help more than confuse me. <img src='http://www.voyce.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Like you blog, keep up the good work! <img src='http://www.voyce.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-952</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 15 Jun 2010 14:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-952</guid>
		<description>I&#039;ve been fumbling around with this for a while -- lol -- new to CoreAnimation, any idea when you could post code so I can see where I&#039;m going wrong?

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been fumbling around with this for a while &#8212; lol &#8212; new to CoreAnimation, any idea when you could post code so I can see where I&#8217;m going wrong?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/comment-page-1/#comment-947</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Mon, 31 May 2010 08:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.voyce.com/?p=791#comment-947</guid>
		<description>Hi Ian,  I&#039;d be interested in seeing the code in action as well....thanks!</description>
		<content:encoded><![CDATA[<p>Hi Ian,  I&#8217;d be interested in seeing the code in action as well&#8230;.thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

