Configuration

class Configuration

A Configuration represents the “state” of a layer hierarchy at a given point in time by associating values to the properties of the layers.

  • Fetches the value of the property of the given layer.

    Declaration

    func valueFor(property: Property, layer: Layer) -> Any

    Parameters

    property

    The property to fetch the value for.

    layer

    The layer whose property value is being fetched.

    Return Value

    Returns the value of the layer’s property in the configuration.