• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CAAnimation while modalForApp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • [SOLVED] CAAnimation while modalForApp
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: Log4Cocoa
  • Next by Date: Re: Distributed Objects
  • Previous by thread: Re: Distributed Objects
  • Next by thread: [SOLVED] CAAnimation while modalForApp
  • Index(es):
    • Date
    • Thread