I am trying to move some custom drawing code from a view into a CAShapeLayer, which then get added as a sublayer to the original view's CALayer. This also works well, ...
I am building a fairly simple game on my app. the app UI is based a lot core animation so does the game.
I am trying to achieve a simple confetti effect ...
I want to implement voice control type of control that have some sine waves that continuously animate from one side of the screen to other and change the amplitude at the ...
I'm working on a little project where I want to draw a bezier curve. I want to be able to vary the lineWidth in different portions of the drawing.
Here's what I ...
I'm trying to change the fillColor of a CAShapeLayer when the
layer it's contained in is touched.
I'm able to change the background color of the tapped layer like this: