GLTableCollectionView

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

Github stars Tracking Chart

GLTableCollectionView

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

  • PayPal

  • BTC: 3Mc25tFtxxwD9mXqtxFn5Qvkbndg3NhvXi

  • LTC: MUoZzdDqD2BkWsVpcSv1pQVHhCcUuiADCL

Main metrics

Overview
Name With Ownergiulio92/GLTableCollectionView
Primary LanguageSwift
Program languageSwift (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-11-24 09:54:16
Pushed At2019-01-11 10:45:33
Last Commit At2019-01-11 11:43:30
Release Count20
Last Release Name1.83 (Posted on )
First Release Name1.0 (Posted on )
用户参与
Stargazers Count706
Watchers Count20
Fork Count37
Commits Count235
Has Issues Enabled
Issues Count12
Issue Open Count0
Pull Requests Count21
Pull Requests Open Count0
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private