Update README
This commit is contained in:
parent
4cff143829
commit
106ab4fde1
20
README.md
20
README.md
|
@ -1,3 +1,21 @@
|
|||
# SwiftFu
|
||||
|
||||
A description of this package.
|
||||
*Swift Function Upgrades*
|
||||
|
||||
## Example
|
||||
```swift
|
||||
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()
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue