Re: Core Animation: Disabling Implicit Animations
Re: Core Animation: Disabling Implicit Animations
- Subject: Re: Core Animation: Disabling Implicit Animations
- From: Shripada Hebbar <email@hidden>
- Date: Wed, 25 Jun 2008 10:07:25 +0530
All default (implicit) animations are returned in the method:
+(id)defaultAnimationForKey:(NSString*)key
You can simply override this and just return nil. This would mute out
all implicit animations.
And if you want specific animations, you can set them into the
animations dictionary of the view.
Refer:
http://developer.apple.com/documentation/Cocoa/Reference/NSAnimatablePropertyContainer_protocol/Introduction/Introduction.html
-Shripada
Hello, a (hopefully) quick question. I have a view which I would like
to use some Core Animation transitions on, so I've set it to
[theContentView setWantsLayer:YES]. However, this causes all of its
subviews to automatically gain fade transitions (which is the expected
behavior). However, some of the subviews are a WebView and an
IKImageBrowserView which apparently do not play nice with the
automatic transitions and create some ugly funky behavior (the image
browser view does not display anything at all). I simply want to
disable ALL implicit transitions/animations and only animate when I
explicitly tell the view to. How is this best accomplished?
Thanks so much,
Wil
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________
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