Skip to content

Commit

Permalink
README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGorman committed May 6, 2018
1 parent 519ef6a commit 2eb4062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ If you're displaying a `UICollectionView` and want to add support for zooming, y

```swift

let agrume = Agrume(images: images, startIndex: indexPath.row, backgroundBlurStyle: .light)
let agrume = Agrume(images: images, startIndex: indexPath.item, backgroundBlurStyle: .light)
agrume.didScroll = { [unowned self] index in
self.collectionView?.scrollToItem(at: IndexPath(row: index, section: 0),
self.collectionView?.scrollToItem(at: IndexPath(item: index, section: 0),
at: [],
animated: false)
}
Expand Down

0 comments on commit 2eb4062

Please sign in to comment.