Home

Awesome

GLTableCollectionView

<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/blob/master/GitHub%20Page/Images/logo.png" width="675"> </p>
BranchStatus
masterBuddyBuild
developBuddyBuild

Language Supported platforms codebeat badge license

What it is

GLTableCollectionView is a ready to use UITableViewController with a UICollectionView for each UITableViewCell, something like Netflix, Airbnb or the Apple's App Store are doing in their iOS apps. GLTableCollectionView is completely customizable in both its UITableView and UICollectionView parts since it has been made on the same Data Source and Delegate methods with no complicated additions.

GLTableCollectionView
🔄The same UITableView reusable cells logic provided from Apple's implementation
♻️UICollectionView cell recycle
🆒Both UITableView & UICollectionView can have their own sections and/or headers
🎨Customization of UICollectionViewCells using the same UICollectionViewDelegate Flow Layout you already know
Previous UICollectionView .contentOffset value restoration after scroll
↔️UICollectionView cell-size-based scroll pagination, see below for instructions
📐Storyboard and Auto Layout compatibility
💎Clean architecture
🔧Unit Tests

Enable/disable scroll pagination

Set paginationEnabled variable true in GLTableCollectionViewController class, false to disable. Default value is true.

/// Set true to enable UICollectionViews scroll pagination
var paginationEnabled: Bool = true

Demo

<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/raw/master/GitHub%20Page/Images/demonstration.gif" width="220"> </p>

How it works

<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/raw/master/GitHub%20Page/Images/diagram.png" width="625"> </p>

Requirements

Donations