I'm learning about Core Animation, and from what I understood about CALayer
and UIView
is the layer
of view
is responsible for drawing the same since it uses the gpu and not the cpu, so its performance is more effective. Until now, I understood well?
Now my doubt, the properties of the layer can come to do the same as the properties of the view? That is, if I modify my layer I am modifying my view or just the layer?
Example: If I use view.frame
would be the same as view.layer.position
and view.layer.bounds
? (Position would be the left point and above, and bounds would take care of the size)