Platform with CAShapeLayer Board

I started using CAReplicatorLayerreplicas CAShapeLayer.

The instanceTransformlayer property that I use to move replication works fine, but instanceAlphaOffsetother color offsets (for example, instanceBlueOffset) do not. What can I do to make it work?

Is it possible to subclass CAReplicatorLayeruser-defined properties that change during replication? I would like to change the fill strokeColor CAShapeLayerfor every replication as well. Or is it somehow else (without a subclass) possible?

+4
source share

Source: https://habr.com/ru/post/1529542/


All Articles