caanimation Questions

3

Solved

I'm making a card game for mac and I'm using a CABasicAnimation to making the card flip around. It's almost working, but it could be a bit better. As it works now, the card flips inwards (to the l...
Pentheam asked 7/4, 2014 at 9:22

1

Ideally I'd need something like UIView.animateWithDuration, however I know that this is not an API that's available on macOS. What's the best way to manipulate the actual frame of an NSView and ani...
Darsie asked 4/10, 2016 at 20:41

0

I am implementing line graph as shown in the attached video and image with dynamic values added in the array at every 1 second, mainly I want the graph to be drawn with the animation as shown in th...
Golgotha asked 25/6, 2021 at 12:57

1

Solved

EDIT: i've refactored the question a bit and solved part of the issue, now the question comes down to why does the presentation layer glitches/flashes when the animation is resumed. At this point t...
Allowable asked 12/1, 2021 at 11:50

2

Hi i have change the frame size using CABasicAnimation i used below code CABasicAnimation *newanim; newanim = [CABasicAnimation animationWithKeyPath:@"bounds.size"]; newanim.duration=3.0; newa...
Jae asked 1/9, 2010 at 5:41

14

Solved

I'm setting a new text value to a UILabel. Currently, the new text appears just fine. However, I'd like to add some animation when the new text appears. I'm wondering what I can do to animate the a...
Involve asked 18/6, 2010 at 22:44

3

Solved

I want to create an animation that will resize an UIView and its contents by a factor. Basically, I want to make an animation that first expands the view then shrinks it back to the original size. ...
Legislator asked 14/3, 2014 at 3:44

2

Solved

I'm using a pair of CALayers as image masks, allowing me to animate a bulb filling or emptying at a set speed while also following the current touch position. That is, one mask jumps to follow the ...
Monadism asked 25/7, 2012 at 12:35

5

Solved

I'm trying to animate a UIButton. But during it's animation, there is no interaction with the UIButton. Expected behavior is to be able to click on the button while it's moving. Here's the code sni...
Warmblooded asked 14/6, 2011 at 15:26

4

Solved

I am making an iOS App. I have several CALayer objects that eventually will be deleted by a (shrinking) animation. When the animation is completed, and animationDidStop:finished is invoked, I would...
Ludwick asked 16/7, 2013 at 23:6

4

Solved

I'm trying to execute a completion-block after my CAAnimation has finished. However, it seems that animation block is called before my animation completes. The animation still happens correctly tho...
Felecia asked 14/11, 2013 at 11:1

3

Solved

Please go through the images. So this is the code which I got from some online source and it does transform my object. Besides that, I understood nothing at all. I am new to CATransform3D and w...
Alphorn asked 10/1, 2013 at 15:19

1

Solved

In UIViewPropertyAnimator, is there a way to just stop all UIViewPropertyAnimator animations? Or perhaps simply get all current animations - then of course you could stop them all. Can this be done...
Revet asked 15/12, 2017 at 0:21

1

For a CALayer, which is animating, class Test: CAGradientLayer { override func draw(in ctx: CGContext) { super.draw(in: ctx) startPoint = .... } *** Terminating app due to uncaught exce...
Mercator asked 10/12, 2017 at 17:58

3

I am trying to animate the paths of a CAShapeLayer so that I get the effect of a circle "filling" up to a specific amount. The Issue It "works", but is not AS smooth as I think it could be,...
Paraguay asked 6/3, 2016 at 3:31

3

I am loading a third-party .dae Collada file as a scene into a SceneKit project. The .dae file has many different animations in it, set at different times/frames. I am trying to figure out how I ...
Diecious asked 13/5, 2015 at 14:33

3

Solved

I would like to animate the reload of a collection view such that when a cell is selected I get an animation similar to dealing cards in a solitaire game. (Imaging old MS solitaire card dealt) I'v...

5

Solved

This question has been asked before but in a slightly different way and I was unable to get any of the answers to work the way I wanted, so I am hoping somebody with great Core Animation skills can...
Hypogene asked 11/3, 2012 at 15:5

2

Solved

I have an animation in my app that basically just makes a UIButton grow and shrink to make it obvious to the user that they should tap. The problem is that while it works fine when the view first ...
Scrope asked 25/4, 2015 at 17:21

3

Solved

I have this code to animate a CALayer element. CABasicAnimation *makeBiggerAnim=[CABasicAnimation animationWithKeyPath:@"radius"]; makeBiggerAnim.duration=0.2; makeBiggerAnim.fromValue=[NSNumber n...
Ureide asked 7/6, 2012 at 19:3

2

Solved

REPRO repository here: https://github.com/kaolin/38492498/tree/master I have a @property int percentScanned. I've set needsDisplayForKey: + (BOOL)needsDisplayForKey:(NSString *)key { if ([@"p...
Neophyte asked 20/7, 2016 at 23:34

4

I manage to animate an CALayer along a UIBezierPath. What i'm trying to accomplish is to animate only a percentage of the path, for example, only 25% of the path, with the layer staying at that po...
Microhenry asked 5/10, 2015 at 2:4

5

Solved

I have an wheel image in .png format, I want to know how can i animate so that it rotates continuously, I searched on stackoverflow and found certain snippets of code which helped me rotate my imag...
Screak asked 8/11, 2012 at 14:46

0

I'm simply closing doors, delaying 2 sec/calling a method then opening them back. One comes from the left side and the other from the right side. I first used UIView animation block but then realiz...

5

Solved

I need to chain animations, CABasicAnimation or CAAnimationGroup but I don't know how to do it, the only that I do is that all the animation execute at the same time for the same layer. How could ...
Ragin asked 31/7, 2012 at 10:3

© 2022 - 2024 — McMap. All rights reserved.