<?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: Core Animation Tutorial: Window Shake Effect</title>
	<atom:link href="http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/</link>
	<description>Taglines are for Windows programmers</description>
	<lastBuildDate>Fri, 12 Mar 2010 03:21:12 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dechriss</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1281</link>
		<dc:creator>dechriss</dc:creator>
		<pubDate>Wed, 24 Feb 2010 00:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1281</guid>
		<description>&lt;p&gt;It dose not work while running the app in 64bit mode.&lt;/p&gt;

&lt;p&gt;Googling around i only found this here:
http://www.mail-archive.com/cocoa-dev@lists.apple.com/msg53686.html&lt;/p&gt;

&lt;p&gt;Quote :
&quot;Note that this code does not have any effect when compiled as 64-bit.
I don&#039;t remember all the details at the moment, but I believe the
issue is that the &#039;frameOrigin&#039; property doesn&#039;t work under 64-bit. In
my own code I was forced to use the &#039;frame&#039; property instead, which
changes the code a bit, but works for both 32- and 64-bit.&quot;&lt;/p&gt;

&lt;p&gt;But i could not really figure out how to make it work in 64bit mode.
Any Ideas ?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It dose not work while running the app in 64bit mode.</p>

<p>Googling around i only found this here:
<a href="http://www.mail-archive.com/cocoa-dev@lists.apple.com/msg53686.html" rel="nofollow">http://www.mail-archive.com/cocoa-dev@lists.apple.com/msg53686.html</a></p>

<p>Quote :
&#8220;Note that this code does not have any effect when compiled as 64-bit.
I don&#8217;t remember all the details at the moment, but I believe the
issue is that the &#8216;frameOrigin&#8217; property doesn&#8217;t work under 64-bit. In
my own code I was forced to use the &#8216;frame&#8217; property instead, which
changes the code a bit, but works for both 32- and 64-bit.&#8221;</p>

<p>But i could not really figure out how to make it work in 64bit mode.
Any Ideas ?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Shane</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1274</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Fri, 19 Feb 2010 02:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1274</guid>
		<description>&lt;p&gt;I got the same result as Max and DonnaLea. I then changed your sample to my build settings -- 10.6 and 64/32 -- and it failed too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I got the same result as Max and DonnaLea. I then changed your sample to my build settings &#8212; 10.6 and 64/32 &#8212; and it failed too.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Long</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1254</link>
		<dc:creator>Matt Long</dc:creator>
		<pubDate>Tue, 09 Feb 2010 15:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1254</guid>
		<description>&lt;p&gt;@Max and @DonnaLea, so you&#039;re able to get your own app to build, it&#039;s just not working on the window that you&#039;re trying to shake--is that correct? Have you connected the window outlet to the window in Interface Builder? I&#039;m not sure what else it could be if it&#039;s not that. You can email me directly at matt at cimgf dot com.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;-Matt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Max and @DonnaLea, so you&#8217;re able to get your own app to build, it&#8217;s just not working on the window that you&#8217;re trying to shake&#8211;is that correct? Have you connected the window outlet to the window in Interface Builder? I&#8217;m not sure what else it could be if it&#8217;s not that. You can email me directly at matt at cimgf dot com.</p>

<p>Thanks.</p>

<p>-Matt</p>]]></content:encoded>
	</item>
	<item>
		<title>By: DonnaLea</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1253</link>
		<dc:creator>DonnaLea</dc:creator>
		<pubDate>Tue, 09 Feb 2010 10:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1253</guid>
		<description>&lt;p&gt;I&#039;m having the same problem as Max, I downloaded the demo app and all works well. But when I copied the code over to my own project, it doesn&#039;t work... I&#039;m stumped on what I&#039;m missing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem as Max, I downloaded the demo app and all works well. But when I copied the code over to my own project, it doesn&#8217;t work&#8230; I&#8217;m stumped on what I&#8217;m missing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Max Weber</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1250</link>
		<dc:creator>Max Weber</dc:creator>
		<pubDate>Sun, 07 Feb 2010 23:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1250</guid>
		<description>&lt;p&gt;For some reason it does not work in my project.&lt;/p&gt;

&lt;p&gt;Is there something I need to declare or import besides the 3 static variables and the framework? I basically copied most of the code. Does anyone have an idea why this simply doesn&#039;t do anything?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For some reason it does not work in my project.</p>

<p>Is there something I need to declare or import besides the 3 static variables and the framework? I basically copied most of the code. Does anyone have an idea why this simply doesn&#8217;t do anything?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: shafijami</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-1098</link>
		<dc:creator>shafijami</dc:creator>
		<pubDate>Mon, 01 Dec 2008 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-1098</guid>
		<description>&lt;p&gt;Programmatically how to hit a ball with another ball?&lt;/p&gt;

&lt;p&gt;I need help to sort out the problem I&#039;m facing in my first IPhone project. In this project I required to show several ball which animate as per the force applied by the ball who touches it. For example if there are two ball and if we hit by dragging one ball to another, it will animate from one location to another in a certain direction. 
Any code snippet or small project??? 
Please help me as its urgent for me for my first project using IPhone SDK.&lt;/p&gt;

&lt;p&gt;Thanks 
Shafi&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Programmatically how to hit a ball with another ball?</p>

<p>I need help to sort out the problem I&#8217;m facing in my first IPhone project. In this project I required to show several ball which animate as per the force applied by the ball who touches it. For example if there are two ball and if we hit by dragging one ball to another, it will animate from one location to another in a certain direction. 
Any code snippet or small project??? 
Please help me as its urgent for me for my first project using IPhone SDK.</p>

<p>Thanks 
Shafi</p>]]></content:encoded>
	</item>
	<item>
		<title>By: How to make a Window shake or tremble &#171; JongAm&#8217;s blog</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-676</link>
		<dc:creator>How to make a Window shake or tremble &#171; JongAm&#8217;s blog</dc:creator>
		<pubDate>Sat, 14 Jun 2008 16:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-676</guid>
		<description>&lt;p&gt;[...] I found it here at Cocoa Is My Girlfriend, and I put its link on my blog before!!! The links I added on the side are really helpful [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] I found it here at Cocoa Is My Girlfriend, and I put its link on my blog before!!! The links I added on the side are really helpful [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: cacao_is_my_boyfriend</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-593</link>
		<dc:creator>cacao_is_my_boyfriend</dc:creator>
		<pubDate>Fri, 16 May 2008 00:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-593</guid>
		<description>&lt;p&gt;This works great! BUT it doesn&#039;t work with modal windows. ;-(&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This works great! BUT it doesn&#8217;t work with modal windows. ;-(</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Cocoa Is My Girlfriend &#187; Core Animation Tutorial: Dashboard Effect</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-58</link>
		<dc:creator>Cocoa Is My Girlfriend &#187; Core Animation Tutorial: Dashboard Effect</dc:creator>
		<pubDate>Sat, 15 Mar 2008 14:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-58</guid>
		<description>&lt;p&gt;[...] you see in OS X itself that present an interesting challenge to duplicate. In a previous post, we demonstrated how to shake a login window similar to the way that OS X shakes the login window when the user enters the wrong password. This [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] you see in OS X itself that present an interesting challenge to duplicate. In a previous post, we demonstrated how to shake a login window similar to the way that OS X shakes the login window when the user enters the wrong password. This [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Macinsoft - Window Shake Effect via Core Animation</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-49</link>
		<dc:creator>Macinsoft - Window Shake Effect via Core Animation</dc:creator>
		<pubDate>Wed, 12 Mar 2008 17:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-49</guid>
		<description>&lt;p&gt;[...] Cocoa Is My Girlfriend: &#8220;We decided to venture out and try to create some really concise examples of effects you might find used in Leopard. And while these effects may not be done with Core Animation where they are found in the OS, we&#8217;ve set out to duplicate them in Core Animation regardless. Our first challenge? Shaking a login window.&#8221;  Comments RSS &#124; Trackback URL [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Cocoa Is My Girlfriend: &ldquo;We decided to venture out and try to create some really concise examples of effects you might find used in Leopard. And while these effects may not be done with Core Animation where they are found in the OS, we&rsquo;ve set out to duplicate them in Core Animation regardless. Our first challenge? Shaking a login window.&rdquo;  Comments RSS | Trackback URL [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Zarra</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-23</link>
		<dc:creator>Marcus Zarra</dc:creator>
		<pubDate>Sun, 02 Mar 2008 18:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-23</guid>
		<description>&lt;p&gt;David,&lt;/p&gt;

&lt;p&gt;Take a look at the docs again for NSWindow and you will find the method:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;(void)setFrameOrigin:(NSPoint)point&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is the method that Matt is kicking in his example.  You are right that there is no getter for it in the documentation but for this example one is not needed.  In fact, this example could have piggy-backed off any number of properties on the NSWindow and achieved the same effect.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>David,</p>

<p>Take a look at the docs again for NSWindow and you will find the method:</p>

<ul>
<li>(void)setFrameOrigin:(NSPoint)point</li>
</ul>

<p>That is the method that Matt is kicking in his example.  You are right that there is no getter for it in the documentation but for this example one is not needed.  In fact, this example could have piggy-backed off any number of properties on the NSWindow and achieved the same effect.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: David Casseres</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-21</link>
		<dc:creator>David Casseres</dc:creator>
		<pubDate>Fri, 29 Feb 2008 23:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-21</guid>
		<description>&lt;p&gt;One detail bothers me.  You create a dictionary entry with the CAKeyframeAnimation object returned by [self shakeAnimation:[window frame]] and the key @&quot;frameOrigin&quot;.  That seems to imply that NSWindow has a property or ivar called frameOrigin, but nothing in the headers or documentation identifies it.  How do you know what keys you can use for CAKeyframeAnimation objects?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>One detail bothers me.  You create a dictionary entry with the CAKeyframeAnimation object returned by [self shakeAnimation:[window frame]] and the key @&#8221;frameOrigin&#8221;.  That seems to imply that NSWindow has a property or ivar called frameOrigin, but nothing in the headers or documentation identifies it.  How do you know what keys you can use for CAKeyframeAnimation objects?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Long Pointers &#187; Core Animation Tutorial: Window Shake Effect</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-20</link>
		<dc:creator>Long Pointers &#187; Core Animation Tutorial: Window Shake Effect</dc:creator>
		<pubDate>Thu, 28 Feb 2008 17:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-20</guid>
		<description>&lt;p&gt;[...] is short, but it has an XCode project that you can download and use. Take a look at the post, Core Animation Tutorial: Window Shake Effect and let me know what you [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] is short, but it has an XCode project that you can download and use. Take a look at the post, Core Animation Tutorial: Window Shake Effect and let me know what you [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: robsoft</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-19</link>
		<dc:creator>robsoft</dc:creator>
		<pubDate>Thu, 28 Feb 2008 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-19</guid>
		<description>&lt;p&gt;I love this touch myself - I put something similar into a Windows app of mine that&#039;s just doing a beta round with the client. The feedback regarding the login and change password dialogs was really positive, including &#039;&lt;em&gt;we love the wiggling it does when you get it wrong. It&#039;s great that you don&#039;t need to have an extra dialog and button to acknowledge   you know you made a mistake.&lt;/em&gt;&#039;&lt;/p&gt;

&lt;p&gt;Unfortunately, my Windows/Delphi/VCL wiggle hack isn&#039;t as smooth (or as short) as the Mac/Cocoa/Core Animation version. :-(&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I love this touch myself &#8211; I put something similar into a Windows app of mine that&#8217;s just doing a beta round with the client. The feedback regarding the login and change password dialogs was really positive, including &#8216;<em>we love the wiggling it does when you get it wrong. It&#8217;s great that you don&#8217;t need to have an extra dialog and button to acknowledge   you know you made a mistake.</em>&#8216;</p>

<p>Unfortunately, my Windows/Delphi/VCL wiggle hack isn&#8217;t as smooth (or as short) as the Mac/Cocoa/Core Animation version. :-(</p>]]></content:encoded>
	</item>
	<item>
		<title>By: News &#187; Window Shake Effect via Core Animation</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-18</link>
		<dc:creator>News &#187; Window Shake Effect via Core Animation</dc:creator>
		<pubDate>Thu, 28 Feb 2008 01:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-18</guid>
		<description>&lt;p&gt;[...] Cocoa Is My Girlfriend: &#8220;We decided to venture out and try to create some really concise examples of effects you might find used in Leopard. And while these effects may not be done with Core Animation where they are found in the OS, we&#8217;ve set out to duplicate them in Core Animation regardless. Our first challenge? Shaking a login window.&#8221; [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Cocoa Is My Girlfriend: &ldquo;We decided to venture out and try to create some really concise examples of effects you might find used in Leopard. And while these effects may not be done with Core Animation where they are found in the OS, we&rsquo;ve set out to duplicate them in Core Animation regardless. Our first challenge? Shaking a login window.&rdquo; [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nedaf7</title>
		<link>http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/comment-page-1/#comment-17</link>
		<dc:creator>nedaf7</dc:creator>
		<pubDate>Wed, 27 Feb 2008 20:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/#comment-17</guid>
		<description>&lt;p&gt;Thanks, this effect should prove itself useful. Here are the static variable values I thought worked best:
static int numberOfShakes = 4;
static float durationOfShake = .5f;
static float vigourOfShake = 0.05f;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, this effect should prove itself useful. Here are the static variable values I thought worked best:
static int numberOfShakes = 4;
static float durationOfShake = .5f;
static float vigourOfShake = 0.05f;</p>]]></content:encoded>
	</item>
</channel>
</rss>
