Questions tagged [caanimation]

CAAnimation is an abstract animation class from Apple QuartzCore framework. It provides the basic support for the CAMediaTiming and CAAction protocols.

All Core Animation's animation classes descend from the abstract class CAAnimation. CAAnimation adopts the CAMediaTiming protocol which provides the simple duration, speed, and repeat count for an animation. CAAnimation also adopts the CAAction protocol. This protocol provides a standardized means for starting an animation in response to an action triggered by a layer.

For more information, see the Apple Documentation for CAAnimation.

457 questions
-1
votes
1 answer

Set image URL for custom image loading animation from different class

I'm sure this is a simple question, but I'm still pretty new to Swift, so I can't figure it out. Basically, I have followed this tutorial to implement a custom loading animation. It's working fine in my app with the demo image, however I can't…
user3746428
  • 10,497
  • 19
  • 72
  • 129
-1
votes
1 answer

kCATransitionFade bad_instruction

var Testing: CATransition! Testing.type = kCATransitionFade Testing.duration = 1 Testing.delegate = ColorBox I am using Swift. On the second line, I get the error EXC_BAD_INSTRUCTION. I have read into this error and have found that this could be…
-1
votes
1 answer

How to move graphic in an arc path on iOS... as in a meter or clock face

This is the result of what I want to achieve: (source: mouseaddict.com) I have static images for my app, but i want to add motion to them. Imagine a meter. It has a needle that is locked at the bottom (at 6:00 on a round-clock-style-face) and…
Jann
  • 2,205
  • 3
  • 28
  • 44
-1
votes
1 answer

CAAnimation determining which animation is which

I have three CAShapeLayer each with a different path to it, but the three of the layer is applied the same animation, which is: [self animateToLineLayer:self.leftDottedLine_ withKey:@"leftLineAnimated"]; - (void)…
adit
  • 28,968
  • 65
  • 214
  • 354
-2
votes
1 answer

CAShapeLayer jittery animation in iOS

I am trying to animate loading animation along the path of rounded rect,using following code. (I need to animate border of square as loader ,partial border.) It does not happen to be smooth ,as soon as it reaches the end of path it jumps to the…
Deep
  • 51
  • 5
-3
votes
1 answer

Push animations- I want two different animations for current View and Next View - In iPhone

I am developing a navigation based application. In this application i want some special animations for Push Pop. I want MoveOut animation for currentViewController and FadeIn animation for nextViewController. I have used following code. MoveOut…
Nirav Gadhiya
  • 6,232
  • 2
  • 33
  • 75
-4
votes
1 answer

Xcode wait for animation to finish before executing next task

I have a layer that moves up when I swipe up and then the same layer moves down when I swipe down. When I swipe up, I don’t want the user to be able to swipe down to activate that animation until the swipe up animation is complete and…
TNasty
  • 95
  • 7
1 2 3
30
31