Repository navigation
First release since 2.2.2 in January 2020. The library was still in wide use, its support setup had rotted. This release fixes that, and fixes one real bug the new tests caught.
Changes
- Raised the minimum deployment target from iOS 9.0 / tvOS 9.0 to iOS 13.0 / tvOS 13.0, and the Swift floor to 5.9.
- Bug fix: the centering inset could go negative for a zero-size collection view or an oversized cell, which set a wrong content offset (a zero-frame view landed at x=25). The inset is now clamped at 0.
- CI is GitHub Actions now (the Travis config pinned Xcode 10.2): Swift Package Manager build, example app build, podspec lint, and the unit tests running on an iOS Simulator. The tests are also wired into Package.swift as a test target.
- The stale bot is gone. Issues and PRs stay open until a person answers them. Two older reports it closed without a reply, #71 and #72, are being followed up on separately.
- Dependabot now watches the GitHub Actions versions monthly.
Install
Swift Package Manager, CocoaPods (pod "CenteredCollectionView", "~> 2.3") or Carthage, same as before. Note for CocoaPods users: this GitHub release and tag are live now, the pod trunk push is the one remaining step and is in progress.
Full history: see CHANGELOG.md in the repo.