GLTableCollectionView

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

Github星跟踪图

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

主要指标

概览
名称与所有者giulio92/GLTableCollectionView
主编程语言Swift
编程语言Swift (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-11-24 09:54:16
推送于2019-01-11 10:45:33
最后一次提交2019-01-11 11:43:30
发布数20
最新版本名称1.83 (发布于 )
第一版名称1.0 (发布于 )
用户参与
星数706
关注者数20
派生数37
提交数235
已启用问题?
问题数12
打开的问题数0
拉请求数21
打开的拉请求数0
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?