HierarchyViewConfiguration
@objc(IAVDHierarchyViewConfiguration)
public final class HierarchyViewConfiguration : NSObject
Configuration options for the hierarchy (tree) view.
-
The maximum depth that is rendered in the tree view. If the depth of the item exceeds this value, it will be hidden from view and can only be accessed by tapping the
Subtree
button of its parent node.Setting this to
nil
means there’s no maximum.Declaration
Swift
@objc public var maxDepth: NSNumber?
-
The font used to render the names of the elements.
Declaration
Swift
@objc public var nameFont: UIFont
-
The font used to render the frames of the elements.
Declaration
Swift
@objc public var frameFont: UIFont
-
The colors of the lines displayed to show the depth of the tree.
If the depth of a node exceeds the number of colors in this array, the colors will repeat from the beginning.
Declaration
Swift
@objc public var lineColors: [UIColor]
-
The width of the lines drawn to show the depth of the tree.
Declaration
Swift
@objc public var lineWidth: CGFloat
-
The spacing between the lines drawn to show the depth of the three.
Declaration
Swift
@objc public var lineSpacing: CGFloat