Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2
Branch | Status |
---|---|
master |
|
develop |
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 UICollectionViewCell s 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 |
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
BTC: 3Mc25tFtxxwD9mXqtxFn5Qvkbndg3NhvXi
LTC: MUoZzdDqD2BkWsVpcSv1pQVHhCcUuiADCL