Swiftpack.co -  Package - swift-tree/Tree
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A value-typed Tree data structure implementation in Swift
.package(url: "https://github.com/swift-tree/Tree.git", from: "1.0.2")


A general purpose, value-typed tree structure in Swift.

Swift Package Manager

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", ...)

Use cases

See BinaryTree and GeneralTree to see how this is used.

Erk Ekin

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco