Skip to content

Commit a94d544

Browse files
committed
Fixed Readme
1 parent 58466f7 commit a94d544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ behavior.scrollToItem(at: 1, animated: true)
203203

204204
### Listen to index changes
205205
You can use the scroll view's delegate function to do that (Make sure you conform to `UICollectionViewDelegate`):
206-
```
206+
```swift
207207
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
208208
print(behavior.currentIndex)
209209
}

0 commit comments

Comments
 (0)