Minor correction to chaining sequence example
This commit is contained in:
parent
f9cc0d67dc
commit
953665d28b
@ -173,7 +173,7 @@ When you have a series of tasks to perform on an array of data:
|
||||
```swift
|
||||
// fade all visible table cells one by one in a “cascading” effect
|
||||
|
||||
let fade = Guarantee()
|
||||
var fade = Guarantee()
|
||||
for cell in tableView.visibleCells {
|
||||
fade = fade.then {
|
||||
UIView.animate(.promise, duration: 0.1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user