GLTableCollectionView
Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2
Install / Use
/learn @giulio92/GLTableCollectionViewREADME
GLTableCollectionView
<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/blob/master/GitHub%20Page/Images/logo.png" width="675"> </p>|Branch|Status|
|:--------:|:--------:|
|master||
|
develop||
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
<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/raw/master/GitHub%20Page/Images/demonstration.gif" width="220"> </p>How it works
<p align="center"> <img src="https://github.com/giulio92/GLTableCollectionView/raw/master/GitHub%20Page/Images/diagram.png" width="625"> </p>Requirements
- Xcode 10.0+
- Swift 4.2+
- iOS 9.0+
- SwiftLint (Optional, but highly suggested)
Donations
-
BTC:
3Mc25tFtxxwD9mXqtxFn5Qvkbndg3NhvXi -
LTC:
MUoZzdDqD2BkWsVpcSv1pQVHhCcUuiADCL
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
