Instance Property

collection

Returns the element that this element is part of.

Declaration

weak var collection: GCControllerElement? { get }

Discussion

If the element is part of another element, this property holds the parent element. Otherwise, it holds nil.

See Also

Inspecting Element Properties

var isAnalog: Bool

Returns a Boolean value that indicates whether the element provides analog data.