layerCount
The number of layers in the rate map.
Declaration
var layerCount: Int { get }Discussion
The value of this property is dynamically determined based on how many layers you’ve added to the descriptor. To add a new layer, call setLayer(_:at:) or use the subscripting operator to assign a layer.