Gliding Collection alternatives and similar libraries
Based on the "UICollectionView" category.
Alternatively, view Gliding Collection 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. -
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. -
RAReorderableLayout
DISCONTINUED. A UICollectionView layout which can move an item with drag and drop. -
GravitySlider
🔄 GravitySlider is a beautiful alternative to the standard UICollectionView flow layout. -
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. -
CarLensCollectionViewLayout
DISCONTINUED. An easy-to-use Collection View Layout for card-like animation. -
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 Gliding Collection or a related project?
README
GLIDING COLLECTION
A smooth, flowing, customizable decision for a UICollectionView Swift Controller
We specialize in the designing and coding of custom UI for Mobile Apps and Websites. Stay tuned for the latest updates:
Requirements
- iOS 8.0+
- Xcode 8
- Swift 3 (<= 1.0.3)
- Swift 4 (>= 1.1.0)
- Swift 4.2 (~> 2.0)
Installation
You can install GlidingCollection
in several ways:
- Add source files to your project.
- Use CocoaPods:
ruby pod 'GlidingCollection'
- Use Carthage:
github "Ramotion/gliding-collection"
How to use
• Create a view controller class:
import GlidingCollection
class ViewController: UIViewController {
let items = ["gloves", "boots", "bindings", "hoodie"]
}
• Drag a UIView
onto the canvas. Change it's class to GlidingCollection
and use autolayout constraints.
[step-2](./assets/step-2.png)
• Connect this view to your view controller class as an @IBOutlet
.
@IBOutlet var glidingCollection: GlidingCollection!
• Make your view controller conform to GlidingCollectionDatasource
. It's very similar to the UITableView
or UICollectionView
datasource protocols that you know:
extension ViewController: GlidingCollectionDatasource {
func numberOfItems(in collection: GlidingCollection) -> Int {
return items.count
}
func glidingCollection(_ collection: GlidingCollection, itemAtIndex index: Int) -> String {
return "– " + items[index]
}
}
• Make your view controller conform to UICollectionViewDatasource
:
extension ViewController: UICollectionViewDatasource {
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
let section = glidingView.expandedItemIndex // Value of expanded section.
return images[section].count
}
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) as? CollectionCell else { return UICollectionViewCell() }
// Configure and return your cell.
return cell
}
}
Customize
You can customize the appearance of GlidingCollection
by overriding GlidingConfig
's shared
instance with your own.
var config = GlidingConfig.shared
config.buttonsFont = UIFont.boldSystemFont(ofSize: 22)
config.activeButtonColor = .black
config.inactiveButtonsColor = .lightGray
GlidingConfig.shared = config
🗒 All parameters with their descriptions are listed in
GlidingConfig
.
Notes
There is a GlidingCollectionDelegate
protocol which can notify you when item in GlidingCollection
didSelect
, willExpand
and didExpand
.
If you want to achieve a parallax effect on a horizontal cards stack, you need to place your parallax view
in a cell's contentView
and set its tag
to 99
.
[parallax-view](./assets/parallax-view.png)
There is a kGlidingCollectionParallaxViewTag
constant if you want to layout a cell in code.
imageView.tag = kGlidingCollectionParallaxViewTag
📄 License
Gliding Collection is released under the MIT license. See [LICENSE](./LICENSE) for details.
This library is a part of a selection of our best UI open-source projects.
If you use the open-source library in your project, please make sure to credit and backlink to https://www.ramotion.com/
📱 Get the Showroom App for iOS to give it a try
Try this UI component and more like this in our iOS app. Contact us if interested.
*Note that all licence references and agreements mentioned in the Gliding Collection README section above
are relevant to that project's source code only.