Swiftpack.co -  Package - 0xLet/SwiftFu
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
0xLet/SwiftFu
Swift Function Upgrades
.package(url: "https://github.com/0xLet/SwiftFu.git", from: "0.1.2")

SwiftFu

Swift Function Upgrades

Example

SomeClass()
    .modify { (object) in
        object.value = "Hello, World!"
    }
    .configure { (object) in
        object.value += "++"
    }
    .func { _ in
        SomeStruct(value: "New Value!")
    }
    .assert { (object) in
        object.value == "New Value!"
    }
    .sout()

GitHub

link
Stars: 9
Last commit: 1 week ago

Release Notes

0.1.2
3 weeks ago

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