https://github.com/linhay/sectionkit
A data-driven UICollectionView framework for building fast.
https://github.com/linhay/sectionkit
iglistkit ios list section swift swift-package-manager swiftui uicollectionview
Last synced: 3 months ago
JSON representation
A data-driven UICollectionView framework for building fast.
- Host: GitHub
- URL: https://github.com/linhay/sectionkit
- Owner: linhay
- License: apache-2.0
- Created: 2022-03-12T13:58:34.000Z (about 4 years ago)
- Default Branch: dev
- Last Pushed: 2025-01-16T10:51:32.000Z (over 1 year ago)
- Last Synced: 2025-01-16T12:21:36.363Z (over 1 year ago)
- Topics: iglistkit, ios, list, section, swift, swift-package-manager, swiftui, uicollectionview
- Language: Swift
- Homepage:
- Size: 1010 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
一个数据驱动的 `UICollectionView`框架,用于构建快速灵活的列表。
| | 主要特性 |
| --------- | ----------------------------------------- |
| 🏠 | 更好的可复用 cell 和组件体系结构 |
| 🔠 | 创建具有多个数据类型的列表 |
| 📱 | 简化并维持 `UICollectionView`的核心特性 |
| ✅ | 超多的插件来帮助你构建更好的列表 |
| 🐦 | Swift 编写, 同时完全支持 SwiftUI |
## 示例
#### [单组 Section](./Example/01-Introduction.swift)

#### [多组 Section](./Example/02-MultipleSection.swift)

#### [设置 Header 和 Footer](./Example/03-FooterAndHeader.swift)

#### [加载更多数据 / 重置数据](./Example/04-LoadAndPull.swift)

#### [使用 Combine 订阅数据](./Example/05-SubscribeDataWithCombine.swift)

### [网格视图](./Example/06-Grid.swift)

### [装饰视图](./Example/07-Decoration.swift)

## 前提条件:
- Swift 5.8
- iOS 13.0+
## 安装
- Swift Package Manager
```swift
https://github.com/linhay/SectionKit
```
- Cocoapods
```ruby
pod 'SectionUI', '2.4.0'
```
## License
`SectionUI` 遵循[Apache License](./LICENSE)。