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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?