MaherKSantina / MSPeekCollectionViewDelegateImplementation

A custom paging behavior that peeks the previous and next items in a collection view
https://medium.com/@maher.santina90/how-to-create-cells-that-peek-on-the-sides-like-ios-11-app-store-ef4bb54c0c7d
MIT License
356 stars 32 forks source link

Crash on behavior.scrollViewWillEndDragging call in v3.1.1 #69

Open mouchegmouradian opened 4 years ago

mouchegmouradian commented 4 years ago

After updating to v3.1.1 the app crashes when releasing finger after a swipe. It works without any change with the 2 previous versions.

func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
        behavior.scrollViewWillEndDragging(scrollView, withVelocity: velocity, targetContentOffset: targetContentOffset)
}

Didn't see anything in the changelogs that would explain this sudden crash.

Any ideas why this is happening ?