Go to file
Zach Eriksen 818f889edc
Merge pull request #4 from 0xLet/develop
Support linux
2021-05-11 20:46:28 -05:00
.swiftpm/xcode/package.xcworkspace Initial Commit 2021-03-15 15:22:09 -05:00
Sources/SwiftFu Support linux 2021-05-11 20:46:02 -05:00
Tests/SwiftFuTests Added tests for math functions 2021-05-08 11:26:35 -05:00
.gitignore Initial Commit 2021-03-15 15:22:09 -05:00
Package.swift Initial Commit 2021-03-15 15:22:09 -05:00
README.md Update README 2021-03-15 20:56:58 -05:00

README.md

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()