<?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: Rotate an Image or Button with Animation &#8211; Part 2</title>
	<atom:link href="http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html</link>
	<description>iOS Developer Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Wed, 08 Feb 2012 06:31:16 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: DAniel</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-61726</link>
		<dc:creator>DAniel</dc:creator>
		<pubDate>Mon, 24 Oct 2011 18:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-61726</guid>
		<description>Hi, let me know if you accomplished this, I&#039;m interested on doing the same. 


Thanks</description>
		<content:encoded><![CDATA[<p>Hi, let me know if you accomplished this, I&#8217;m interested on doing the same. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Mesa</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-60489</link>
		<dc:creator>Ricardo Mesa</dc:creator>
		<pubDate>Fri, 23 Sep 2011 21:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-60489</guid>
		<description>Hi guys, how can i make my image remain in the position given by the rotation angle?
it keeps going back to the defalut position (0 degrees), and i want  the animation to be completed at 45 degrees, so the image must stay at 45 degrees, not return to 0.

Thanks!!</description>
		<content:encoded><![CDATA[<p>Hi guys, how can i make my image remain in the position given by the rotation angle?<br />
it keeps going back to the defalut position (0 degrees), and i want  the animation to be completed at 45 degrees, so the image must stay at 45 degrees, not return to 0.</p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William K</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-56627</link>
		<dc:creator>William K</dc:creator>
		<pubDate>Tue, 26 Jul 2011 02:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-56627</guid>
		<description>This doesn&#039;t work if the view is already rotated initially.</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work if the view is already rotated initially.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-46698</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Fri, 15 Apr 2011 22:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-46698</guid>
		<description>How to stop the image from returning to its start position? Just want it to stop if it spins a random number of turns and then be able to give it another spin.</description>
		<content:encoded><![CDATA[<p>How to stop the image from returning to its start position? Just want it to stop if it spins a random number of turns and then be able to give it another spin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domonique</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-26185</link>
		<dc:creator>Domonique</dc:creator>
		<pubDate>Thu, 23 Sep 2010 15:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-26185</guid>
		<description>I&#039;m missing something but i don&#039;t know what.  Still beginner xcode programmer.  I get an error saying Request for member &#039;layer&#039; in something not a structure or union.  I added the #import  and added the layer to my button.</description>
		<content:encoded><![CDATA[<p>I&#8217;m missing something but i don&#8217;t know what.  Still beginner xcode programmer.  I get an error saying Request for member &#8216;layer&#8217; in something not a structure or union.  I added the #import  and added the layer to my button.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ayaz</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-16261</link>
		<dc:creator>ayaz</dc:creator>
		<pubDate>Tue, 01 Jun 2010 06:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-16261</guid>
		<description>@ windrago

you should try duration to 0 and put angle of rotation to this
 rotationAnimation.toValue = [NSNumber numberWithFloat: M_PI  * direction];

Above code is untested.</description>
		<content:encoded><![CDATA[<p>@ windrago</p>
<p>you should try duration to 0 and put angle of rotation to this<br />
 rotationAnimation.toValue = [NSNumber numberWithFloat: M_PI  * direction];</p>
<p>Above code is untested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: windrago</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-12703</link>
		<dc:creator>windrago</dc:creator>
		<pubDate>Tue, 06 Apr 2010 02:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-12703</guid>
		<description>I would like to implement your code in a way that the image flips vertically instead of rotate - How can I achieve that?</description>
		<content:encoded><![CDATA[<p>I would like to implement your code in a way that the image flips vertically instead of rotate &#8211; How can I achieve that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mehmet</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/rotate-an-image-or-button-with-animation-part-2.html#comment-10921</link>
		<dc:creator>mehmet</dc:creator>
		<pubDate>Thu, 11 Mar 2010 14:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=5399#comment-10921</guid>
		<description>Thanks for the code. In y rotation, button is split in two parts and from center around y axis, and I cant see the half of the button, only one half is animating. This occurs when I use an UIImageView as background of button. Anybody has an idea?</description>
		<content:encoded><![CDATA[<p>Thanks for the code. In y rotation, button is split in two parts and from center around y axis, and I cant see the half of the button, only one half is animating. This occurs when I use an UIImageView as background of button. Anybody has an idea?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

