Skip to content

Releases: MaherKSantina/MSPeekCollectionViewDelegateImplementation

3.2.0

22 Mar 13:41
Compare
Choose a tag to compare

Release 3.2.0

#72 Handle minimum & maximum items to scroll for default newTargetOffset
#71 Better handling of negative cellSpacing

3.1.1

08 May 00:14
Compare
Choose a tag to compare
  • Added ability to listen to index change when the paging finishes
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
    print(behavior.currentIndex)
}

3.1.0

06 May 09:57
Compare
Choose a tag to compare
  • Added SPM Support ! 🎉

3.0.4

05 Feb 12:00
Compare
Choose a tag to compare
  • Fixed issue #55 once and for all 💪 (Hopefully..)

3.0.3

16 Dec 12:12
Compare
Choose a tag to compare
  • Fixed issue #50
  • Fixed an issue when scrolling backwards on the first item or forwards on the last item.
  • Added some tests around the content length

3.0.2

13 Dec 11:39
Compare
Choose a tag to compare

Fixed an issue when scrolling backwards and stopping before pulling finger.

Thanks @miklashevsky for helping me track this thing out!

3.0.1

13 Dec 06:19
Compare
Choose a tag to compare

Added scrollToItem function on the behavior. You can now do something like:

behavior.scrollToItem(at: 1, animated: true)

It's recommended to use this function instead of the collection view's scrolling function because we're using a custom collection view layout and the calculation is different

3.0.0

07 Dec 17:29
62ef41f
Compare
Choose a tag to compare

New version is here with less bugs! (Hopefully 🙏 )
The implementation is now using a custom collection view layout which spaces components based on the collection view's frame

The paging behavior is now in it's separate component so that it would be easier to customize and maintain

The new layout should fix most issues with items clipping but please feel free to raise issues if you're still experiencing them

Thank you for your comments and support everyone! ❤️

2.0.0

05 Sep 08:26
Compare
Choose a tag to compare
  • Updated swift to version 5 🎉

1.3.0

05 Jun 22:53
Compare
Choose a tag to compare
  • Added minimumItemsToScroll

minimumItemsToScroll is the number of items that the user will scroll when the scroll distance is greater than the threshold. This is quite useful when you have multiple cells showing at once and you need to do a paging behavior.

For example, let's say I'm showing 2 items at the same time, but I still want to have some kind of paging behavior by scrolling to another 2 items without the need to scroll 1 item at a time. This can be achieved by setting the number of items to show to 2 and minimum items to scroll to 2