Hi, I try to create a view which creates an effect that is similar to the Find Indicator in NSTextView. To achieve that there is a view with text which is animated using CAAnimation objects registered via setAnimations:. The animated properties are frameSize, frameOrigin and animatedFontSize, but the triggering property is the "hidden" property. The whole effect works and looks almost as I imagined it, but there is one problem: the properties do not reach the final value (original value in this case, autoreverses is set to YES) after the animation finishes. When the CABasicAnimation is started with fromValue 16 and toValue 28, it increases to the toValue, starts to decrease again, but stops somewhere between 15.6 and 18.0. According to delegate notification, the animation does finish completely.
The frame properties are animated using CAKeyframeAnimation objects and show similar problems. They are supposed to run in a CAAnimationGroup, but for debugging I run only the basic animation of the font size. My view is not layer-backed, but after Bill Dudney's book that is possible. (CAAnimation et. al documentation sounds different on this point, though.) Is this fundamentally the right approach? Is it possible that a basic animation (an autoreversing one) does not reach the final value? Cheers, Florian -- Florian Ebeling florian.ebel...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com