InfinityExpandableTableTree
InfinityExpandableTableTree copied to clipboard
Bug with Static Tree Index Initialization
Hi, need some help this this issue. I have something like this:
kjtreeInstance = KJTree(indices: ["1.1", "1.2.1", "1.2.2", "1.2.3", "1.3.1", "1.3.2", "1.3.3"] )
but the result is similar to:

Found the bug! There is a bug when init(indices: [String]) ... else{ // create new child var child = Child() child.givenIndex = internalIndex //index parent.arrayChilds.append(child) components.removeFirst() self.justAddChildsIn(inChild: &child, components: &components) } ...