sublayers
An array containing the layer’s sublayers.
Declaration
var sublayers: [CALayer]? { get set }Discussion
The sublayers are listed in back to front order. The default value of this property is nil.
Special Considerations
When setting the sublayers property to an array populated with layer objects, each layer in the array must not already have a superlayer—that is, its superlayer property must currently be nil.