Skip to content

Commit e605aac

Browse files
Update README.md
1 parent ef98cca commit e605aac

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,23 @@ viewProcessOutlet.options = options
128128

129129
To start Animation:
130130
```Swift
131-
viewProcess.start()
131+
viewProcess.start(completed:
132+
{
133+
//code to run after finishing
134+
})
132135
```
133136

134137
Reverse animation without removing the items:
135138
```Swift
136-
viewProcess.reverse(removeBtns: false)
139+
viewProcess.reset(removeItems: false)
137140
{
138141
//code to run after finishing
139142
}
140143
```
141144

142145
Reverse animation then removing the items:
143146
```Swift
144-
viewProcess.reverse(removeBtns: true)
147+
viewProcess.reset(removeItems: true)
145148
{
146149
//code to run after finishing
147150
}

0 commit comments

Comments
 (0)