Minor correction to chaining sequence example

This commit is contained in:
Bruno Virlet 2020-04-28 14:55:13 +02:00 committed by Max Howell
parent f9cc0d67dc
commit 953665d28b

View File

@ -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) {