This layout adjusts a content offset if the collection view is updated. You can insert, delete or reload items and StableCollectionViewLayout will take care of the content offset.
StableCollectionViewLayout alternatives and similar libraries
Based on the "Collection View" category.
Alternatively, view StableCollectionViewLayout alternatives based on common mentions on social networks and blogs.
Parallax Scroll-Jacking Effects Engine for iOS / tvOS
A custom paging behavior that peeks the previous and next items in a collection view
Collapse and expand UICollectionView sections with one method call.
Easy and type-safe iOS table and collection views in Swift.
A guy that helps you manage collections and placeholders in easy way.
A wrapper around UICollectionViewController enabling a declarative API around it's delegate methods using protocols.
Do you think we are missing an alternative of StableCollectionViewLayout or a related project?
This layout adjusts a content offset if the collection view is updated. You can insert, delete or reload items and
StableCollectionViewLayout will take care of the content offset.
You should just create and pass
import StableCollectionViewLayout UICollectionView(frame: .zero, collectionViewLayout: StableCollectionViewFlowLayout())
Also, you can create the own subclass of
StableCollectionViewLayout and use it.
The preferred installation method is with CocoaPods. Add the following to your
pod 'StableCollectionViewLayout', '~> 1.0.0'
For Carthage, add the following to your
github "aimalygin/StableCollectionViewLayout" ~> 1.0.0
Swift Package Manager
To integrate using Xcode: File -> Swift Packages -> Add Package Dependency Enter package URL: https://github.com/aimalygin/StableCollectionViewLayout, and select the latest release.