giulio92
GLTableCollectionView
Swift

Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2

Last updated Jun 25, 2026
699
Stars
37
Forks
0
Issues
0
Stars/day
Attention Score
48
Language breakdown
No language data available.
โ–ธ Files click to expand
README

GLTableCollectionView

|Branch|Status| |:--------:|:--------:| |master|BuddyBuild| |develop|BuddyBuild|

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

How it works

Requirements

  • Xcode 10.0+
  • Swift 4.2+
  • iOS 9.0+
  • SwiftLint (Optional, but highly_ suggested)

Donations

  • BTC: 3Mc25tFtxxwD9mXqtxFn5Qvkbndg3NhvXi
  • LTC: MUoZzdDqD2BkWsVpcSv1pQVHhCcUuiADCL

ยฉ 2026 GitRepoTrend ยท giulio92/GLTableCollectionView ยท Updated daily from GitHub