Styling with Layers | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4659-drawing-in-ios-with-core-animation-and-core-graphics/lessons/2
1 Like

It took me a while to figure out the different layers are stacked on top of each other without any differences in their frame ie just as you said they form a hierarchy.

The major difference is that one layer is constrained its bounds and the other (which is used for shadowing purposes) isn’t

@xhome_ios Thank you for sharing this - much appreciated!