Questions tagged [cakeyframeanimation]

Describes an animation that provides keyframe interpolation of a layer property in Apple's Core Animation framework.

CAKeyframeAnimation is a Core Animation animation type that provides keyframe interpolation of a layer property. Instances should be created with the initializer animationWithKeyPath:.

For more information, see the Apple Documentation for CAKeyframeAnimation.

235 questions
0
votes
0 answers

Keyframe animation works in Safari not in Chrome

In Chrome, I can run this this animation just fine: .card { height: 100px; width: 100px; background: red; } .cardSway { -webkit-animation: cardSway 1s ease-in-out infinite; -moz-animation: cardSway 1s ease-in-out infinite; …
0
votes
1 answer

Proper way to dispose of CAKeyFrameAnimation

What's the proper way to dispose of a CAKeyFrameAnimation that has custom events? I made a test project demonstrating exactly what I'm doing in the simplest way possible. Here is my Xamarin Studio Project Here is my XCode Instruments Memory…
LampShade
  • 2,675
  • 5
  • 30
  • 60
0
votes
1 answer

CAKeyframeAnimation not calling animationDidStop after bezier curve (iOS)

I have looked at every other answer on here (and across the web) to a situation like mine and have yet to remedy the issue. Essentially what is occurring is I am animating an image-containing CALayer across a quadratic bezier curve. The animation…
0
votes
2 answers

How to synchronise CAKeyframeAnimation animations of several different layers?

I need to animate the move of 5 views, each of them starts with a delay from previous one. I'v already got working animation of one view: // Create position points NSArray * pathArray = @[ [NSValue…
Centurion
  • 14,106
  • 31
  • 105
  • 197
0
votes
1 answer

Chaining keyframe animations

I'm trying to chain two keyframe-based animations, but the second animation won't play for some reason. Any idea what's going on? // Create an animation group to contain all album art animations CAAnimationGroup *albumArtAnimationGroup =…
ratsimihah
  • 1,010
  • 1
  • 11
  • 22
0
votes
2 answers

Why are my animation values ignored?

I try to do a CAKeyFrameAnimation for rotating an layer: CALayer* theLayer = myView.layer; CAKeyframeAnimation* animation; animation = [CAKeyframeAnimation animationWithKeyPath:@"transform.rotation.z"]; animation.duration = 1.0; …
openfrog
  • 40,201
  • 65
  • 225
  • 373
0
votes
0 answers

CALayer animate contents between more than 2 images impossible?

Does anyone has managed to animate the contents property of a CALayer between 3 images with successful interpolation. It seems that the animation is unable to manage interpolation between more than two images. My CGImages have all the same size. …
Nicolas Manzini
  • 8,379
  • 6
  • 63
  • 81
0
votes
1 answer

Animating UICollectionViewCells

I need to layout several collections of "buttons" in a circle. I have found UICollectionView using a custom layout flow to be an easy way to accomplish this. Especially since each collection of buttons varies in number. In addition, this wheel of…
Electro-Bunny
  • 1,380
  • 2
  • 12
  • 33
0
votes
1 answer

Why ever use `keyTimes`, `timingFunctions` or `timingFunction` on CAKeyframeAnimation?

Interpolating the values with a custom function is very easy. But is it bad practice? Should I instead (or in addition) use keyTimes, timingFunctions or timingFunction to explain the animation-curve to the framework? When working with custom…
hfossli
  • 22,616
  • 10
  • 116
  • 130
0
votes
1 answer

Warning during analysing CAKeyframeAnimation

I am getting the warning during the analysing my application i am attaching the screen shot, i am getting Dead store value stored for animationForButton2 during its initialisation is never read where the button_2 is the custom UIButton how can…
Shankar BS
  • 8,394
  • 6
  • 41
  • 53
0
votes
1 answer

Why does my CAKeyframeAnimation not get executed?

This' my code in which I'm trying to change the size of my imageView. If you can point out any error, I'll be really grateful.. UIImageView *imageViewForAnimation = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ravan.jpg"]]; …
neha
  • 6,327
  • 12
  • 46
  • 78
0
votes
0 answers

CAKeyframeAnimation not work with subclass

I move a button with an animation, if I use it inside a UIVIewController all work perfectly, if I try to subclassing a UIView with this animation I can't see it, the button appear into the end point but I don't see it moving. Where is the…
francesco.venica
  • 1,703
  • 2
  • 19
  • 54
0
votes
1 answer

Group animation on multiple objects

I'm trying to animate many bubbles coming out of a machine. I'm using a basic animation to scale the bubbles from a small bubble to a large one and a keyframe animation to send the bubble in a curve across the screen. These are combined into a group…
0
votes
2 answers

CAKeyframeAnimation repeat animation from begin to end

I need to add infinite animation for UIImageView from start point to end point and after that from end point to start point. I am trying like this: CAKeyframeAnimation *pathAnimation = [CAKeyframeAnimation…
ArisRS
  • 1,362
  • 2
  • 19
  • 41
0
votes
1 answer

perform a rotate transition on a scaled object CSS 3

I have a series of objects all of which have different scaled value using the css 3 transform tag. My problem is that when I try to attach an animation on hover (in this case its a rotation) they return to their original/unscaled value i.e they all…