We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58466f7 commit a94d544Copy full SHA for a94d544
README.md
@@ -203,7 +203,7 @@ behavior.scrollToItem(at: 1, animated: true)
203
204
### Listen to index changes
205
You can use the scroll view's delegate function to do that (Make sure you conform to `UICollectionViewDelegate`):
206
-```
+```swift
207
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
208
print(behavior.currentIndex)
209
}
0 commit comments