CarLensCollectionViewLayout alternatives and similar libraries
Based on the "UICollectionView" category.
Alternatively, view CarLensCollectionViewLayout alternatives based on common mentions on social networks and blogs.
-
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
Gliding Collection
:octocat: Gliding Collection is a smooth, flowing, customizable decision for a UICollectionView Swift Controller. iOS library made by @Ramotion -
CenteredCollectionView
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift -
Card Slider
:octocat: 🃏 Cardslider is a design UI controller that allows you to swipe through cards with pictures and accompanying descriptions. -
GravitySlider
🔄 GravitySlider is a beautiful alternative to the standard UICollectionView flow layout. -
RAReorderableLayout
DISCONTINUED. A UICollectionView layout which can move an item with drag and drop. -
ReplaceAnimation
Pull-to-refresh animation in UICollectionView with a sticky header flow layout, written in Swift :large_orange_diamond: -
Blueprints
DISCONTINUED. :cyclone: Blueprints - A framework that is meant to make your life easier when working with collection view flow layouts. -
CollectionViewShelfLayout
A UICollectionViewLayout subclass displays its items as rows of items similar to the App Store Feature tab without a nested UITableView/UICollectionView hack. -
AZCollectionViewController
Easy way to integrate pagination with dummy views in CollectionView, make Instagram "Discover" within minutes. -
CheckmarkCollectionViewCell
UICollectionViewCell with checkbox when it isSelected and empty circle when not - like Photos.app "Select" mode. -
FlexibleRowHeightGridLayout
A UICollectionView grid layout designed to support Dynamic Type by allowing the height of each row to size to fit content. -
CustomCollectionLayout
This is an example project for my article called "UICollectionView Tutorial: Changing presentation on the fly" -
GoodProvider
🚀UITableView and UICollectionView provider to simplify basic scenarios of showing the data.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of CarLensCollectionViewLayout or a related project?
README
CarLensCollectionViewLayout
An easy-to-use Collection View Layout for card-like animation 🎉
CarLensCollectionViewLayout was created out of the implementation in CarLens application 🚘. The image above exactly shows the screen from the app!
Requirements
CarLensCollectionViewLayout is written in Swift 4.2 and supports iOS 9.0+.
Usage
Basic Usage
The two main steps are needed for the configuration of CarLensCollectionViewLayout:
Step 1
Assign CarLensCollectionViewLayout
to yours collection view layout:
collectionView.collectionViewLayout = CarLensCollectionViewLayout()
or initialize your collection view with CarLensCollectionViewLayout
:
UICollectionView(frame: .zero, collectionViewLayout: CarLensCollectionViewLayout())
Step 2
Subsclass CarLensCollectionViewCell
and call configure(topView: UIView, cardView: UIView)
during the cell’s initialization:
class CollectionViewCell: CarLensCollectionViewCell {
override init(frame: CGRect) {
super.init(frame: frame)
configure(topView: upperView, cardView: bottomView)
}
}
The sample implementation is available in [Demo](CarLensCollectionViewLayoutDemo) project.
Customization
Layout
You can also initialize CarLensCollectionViewLayout
with a CarLensCollectionViewLayoutOptions
object by passing any of the parameters available. Others will be configured automatically.
Parameters:
minimumSpacing
- A minimum spacing between cells.
decelerationRate
- A deceleration for a scroll view.
shouldShowScrollIndicator
- A value indicating whether collection view should have a scroll indicator.
itemSize
- The size to use for cells.
Example:
let options = CarLensCollectionViewLayoutOptions(minimumSpacing: 40)
collectionView.collectionViewLayout = CarLensCollectionViewLayout(options: options)
Cell
While subsclassing CarLensCollectionViewCell
you can call configure(...)
with an additional parameter topViewHeight
. The card view height will be calculated based on this value.
Example:
class CollectionViewCell: CarLensCollectionViewCell {
override init(frame: CGRect) {
super.init(frame: frame)
configure(topView: upperView, cardView: bottomView, topViewHeight: 300)
}
}
Installation
CocoaPods
If you're using CocoaPods, add the following dependency to your Podfile
:
use_frameworks!
pod 'CarLensCollectionViewLayout', '~> 1.2.0'
Carthage
If you're using Carthage, add the following dependency to your Cartfile
:
github "netguru/CarLensCollectionViewLayout" ~> 1.2.0
About
This project is made with ❤️ by Netguru and maintained by Anna-Mariia Shkarlinska.
License
CarLensCollectionViewLayout is licensed under the MIT License. See [LICENSE.md](LICENSE.md) for more info.
Read More
- Introducing CarLensCollectionViewLayout - a New Open Source iOS Tool by Netguru
- How We Built CarLens
- Increasing the Accuracy of the Machine Learning Model in CarLens
Related Links
*Note that all licence references and agreements mentioned in the CarLensCollectionViewLayout README section above
are relevant to that project's source code only.