Closed Voxar closed 5 years ago
Hi. Thanks for your comment.
I'm just interested in func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint
really, to make a custom pagination to get "flick fast scroll" functionality. Works pretty good together with LinearCardAttributesAnimator
.
Which approach would you suggest?
Hey Voxar. That sounds like a very interesting feature to have in this library. Do you think we can add that as a plugin/optional feature that if you want you can turn it on?
Please merge, I need this one
Please merge this, I just closed a similar PR. This is necessary to use other features of UICollectionViewFlowLayout like finalLayoutAttributesForDisappearingItem and initialLayoutAttributesForAppearingItem to customize the appearing and dismissing of cells. Right now I am resorting to copying the entire class into my project.
You don't need to add these as features to this library, you just need to allow people to override them like you normally would when subclassing UICollectionViewFlowLayout.
@kamendo @gsbernstein Thanks guys and good point. I'll merge this and release a new version as soon as I get home today (in about 8 hours).
Thank you! Impressed by your responsiveness.
@gsbernstein @kamendo @Voxar This is now merged and released in version 0.5.0. Don't forget to update your Cocoapods specs by running pod repo update
! Thanks again guys.
Works great! 10q!
Hey, thanks for the PR. However, I'm not sure allowing people to subclass the layout would help much. If there're features that you need to subclass to achieve, then maybe add them to the base class?