GitPedia
BenEmdon

BenEmdon/CenteredCollectionView

A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift

20 Releases
Latest: 6y ago
SPM Release2.2.2Latest
BenEmdonBenEmdon·6y ago·January 26, 2020
GitHub

CenteredCollectionView is now available for SPM. Big thanks to @Dean151 🎉

Swift 5 Release2.2.1
BenEmdonBenEmdon·7y ago·April 10, 2019
GitHub

Thank you @vkcldhkd for updating CenteredCollectionView to Swift 5 in #42

tvOS Support2.1.1
BenEmdonBenEmdon·7y ago·March 7, 2019
GitHub

Thanks to @bimawa in #39, tvOS support has now been added.

Swift 4.2 release2.1.0
BenEmdonBenEmdon·7y ago·December 3, 2018
GitHub

📋 Changes

  • Supports latest project config settings
  • Supports Swift 4.2
Storyboard Support and Tutorial2.0.0
BenEmdonBenEmdon·8y ago·April 14, 2018
GitHub

Storyboard support is here and there is now a tutorial in the [`USAGE.md`](https://github.com/BenEmdon/CenteredCollectionView/blob/master/USAGE.md) doc.

Storyboard Support1.2.2
BenEmdonBenEmdon·8y ago·April 9, 2018
GitHub

📋 Changes

  • Fixed a crash when integrating with storyboards.
Cocoapod release1.2.1
BenEmdonBenEmdon·8y ago·February 25, 2018
GitHub

Fixed podspec

Readability enhancement1.2.0
BenEmdonBenEmdon·8y ago·February 25, 2018
GitHub

Thanks to @h-yuya for making code slightly more palatable in #26.

Swift 4 compatibility1.1
BenEmdonBenEmdon·8y ago·December 30, 2017
GitHub

This release adds swift 4 compatibility and reduces our travis build debt.

Major Release!1.0
BenEmdonBenEmdon·8y ago·June 24, 2017
GitHub

📋 Changes

  • Removed `CenteredCollectionView` subclass (resolves #19)
  • Moved all custom methods back onto the `CenteredCollectionViewFlowLayout`
  • Added a `UICollectionView` convenience init to create a and configure a `UICollectionView` with a `CenteredCollectionViewFlowLayout`
Bug Fix/Clean0.9.9
BenEmdonBenEmdon·9y ago·March 3, 2017
GitHub

📋 Changes

  • Removed logging on `currentCenteredPage` calculation
Carthage Support0.9.8
BenEmdonBenEmdon·9y ago·February 13, 2017
GitHub

Thanks to @dunqi in #12 we now support Carthage!

More lightweight + safer logic0.9.7
BenEmdonBenEmdon·9y ago·February 7, 2017
GitHub

📋 Changes

  • Removed all logic that had to override the delegate
  • safer `currentCenteredPage` calculation
Stable + Fixes0.9.6
BenEmdonBenEmdon·9y ago·January 16, 2017
GitHub

Fixed miscalculation of `currentCenteredPage` on smaller screens using relative (%) width on cell item size.

Stable and usable release!0.9.5
BenEmdonBenEmdon·9y ago·January 16, 2017
GitHub

Fixed bug where `scrollTo:Index` would cause a freeze when: ``` swift abs(proposedContentOffset - contentOffset) < 1 ```

API Update0.9.4Pre-release
BenEmdonBenEmdon·9y ago·January 12, 2017
GitHub
Stable Release0.9.3Pre-release
BenEmdonBenEmdon·9y ago·January 9, 2017
GitHub

📋 Changes

  • animates `scrollTo:page` after `didSelectItemAt:atIndexPath` when `scrollToEdgeEnabled` is `true`
Stable Release [internal]0.9.2Pre-release
BenEmdonBenEmdon·9y ago·January 9, 2017
GitHub
Unstable Pod Release [internal use]0.9.1Pre-release
BenEmdonBenEmdon·9y ago·January 5, 2017
GitHub
Functional Release0.9.0Pre-release
BenEmdonBenEmdon·9y ago·January 3, 2017
GitHub

Stable release for internal use.