Array

extension Array : LayerContainer where Element == Layer
public extension Array where Element == Object

Standard functions provided by all arrays with elements that can be considered a Layer

Available where Element == Layer

  • Declaration

    Swift

    public var layers: [Layer] { get }

Available where Element == Object

  • Get an Object from the array with matching based on the objectId

    Declaration

    Swift

    subscript(id objectId: Int) -> Object? { get }
  • Get an Object from the array with matching based on the object’s name

    Declaration

    Swift

    subscript(name objectName: String) -> [Object] { get }