CAAnimation while modalForApp
CAAnimation while modalForApp
- Subject: CAAnimation while modalForApp
- From: David LeBer <email@hidden>
- Date: Wed, 21 Jan 2009 18:23:10 -0500
I have a sign in window that implements a simple CAKeyframeAnimation
to perform a shake if the sign in fails using the NSWindow's animator
proxy object.
i.e.
[self setAnimations:[NSDictionary dictionaryWithObject:[self
shakeAnimationWithNumber:4 duration:0.5f vigour:0.03f]
forKey:@"frameOrigin"]];
[[self animator] setFrameOrigin:[self frame].origin];
However, I need to make the app modal for that window, and when I do
the animation doesn't fire (or isn't visible).
Anyone have any idea of what I should be looking for in the
documentation to explain this? Is there some kind of run-loop mode
dependency I am not aware of?
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden