A general purpose, value-typed tree structure in Swift.
The Swift Package Manager automates the distribution of Swift code. To use Tree with SPM, add a dependency to your Package.swift
file:
let package = Package(
dependencies: [
.package(url: "https://github.com/swift-tree/Tree.git", ...)
]
)
See BinaryTree and GeneralTree to see how this is used.
Erk Ekin