GLTableCollectionView
                                
                                 GLTableCollectionView copied to clipboard
                                
                                    GLTableCollectionView copied to clipboard
                            
                            
                            
                        Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2
GLTableCollectionView
     
| Branch | Status | 
|---|---|
| master | |
| develop | 
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 UITableViewreusable cells logic provided from Apple's implementation | 
| ♻️ | UICollectionViewcell recycle | 
| 🆒 | Both UITableView&UICollectionViewcan have their own sections and/or headers | 
| 🎨 | Customization of UICollectionViewCells using the sameUICollectionViewDelegate Flow Layoutyou already know | 
| ✨ | Previous UICollectionView.contentOffset value restoration after scroll | 
| ↔️ | UICollectionViewcell-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
     
How it works
     
Requirements
- Xcode 10.0+
- Swift 4.2+
- iOS 9.0+
- SwiftLint (Optional, but highly suggested)
Donations
- 
BTC: 3Mc25tFtxxwD9mXqtxFn5Qvkbndg3NhvXi
- 
LTC: MUoZzdDqD2BkWsVpcSv1pQVHhCcUuiADCL