LayerFilter

public protocol LayerFilter

A LayerFilter is used when querying LayerContainers to select one or more matching Layers and are responsible for determining if any given Layer meets a set of criteria

  • Determines If the supplied Layer meets the criteria of the LayerFilter

    Declaration

    Swift

    func matches(_ layer: Layer) -> Bool

    Parameters

    layer

    The Layer to evaluate