Permalink
Browse files

Files modified: 1


Modified 1 file:
src/Element/ui/treelist/utils/tree/utils/TreeUtils.swift
  • Loading branch information...
1 parent ca3e317 commit 3cec2530f4f21014ef8c9942277fde9c09bb6fad @eonist committed May 19, 2017
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Element/ui/treelist/utils/tree/utils/TreeUtils.swift
@@ -12,6 +12,7 @@ class TreeUtils{
static var defaultAssert:AssertMethod = {_ in return true}//returns true as default
/**
* Recusivly flattens the the treeStructure into a column structure array of tree items
+ * TODO: ⚠️️ Use reduce!
*/
static func flattened(_ tree:Tree) -> [Tree] {
var results:[Tree] = []

0 comments on commit 3cec253

Please sign in to comment.