Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 5 days ago
JSON representation

A data-driven UICollectionView framework for building fast.

Awesome Lists containing this project

README

        




Pods Version
Platforms

----------------

一个数据驱动的`UICollectionView`框架,用于构建快速灵活的列表。

| | 主要特性 |
----------|-----------------
🏠 | 更好的可复用 cell 和组件体系结构
🔠 | 创建具有多个数据类型的列表
📱 | 简化并维持`UICollectionView`的核心特性
✅ | 超多的插件来帮助你构建更好的列表
🐦 | Swift 编写, 同时完全支持 SwiftUI

## 示例
#### [单组 Section](./Example/01-Introduction.swift)
![01-Introduction](https://github.com/linhay/RepoImages/blob/main/SectionUI/01-Introduction.png?raw=true)
#### [多组 Section](./Example/02-MultipleSection.swift)
![02-MultipleSection](https://github.com/linhay/RepoImages/blob/main/SectionUI/02-MultipleSection.png?raw=true)
#### [设置 Header 和 Footer](./Example/03-FooterAndHeader.swift)
![03-FooterAndHeader](https://github.com/linhay/RepoImages/blob/main/SectionUI/03-FooterAndHeader.png?raw=true)
#### [加载更多数据 / 重置数据](./Example/04-LoadAndPull.swift)
![04-LoadAndPull](https://github.com/linhay/RepoImages/blob/main/SectionUI/04-LoadAndPull.png?raw=true)
#### [使用 Combine 订阅数据](./Example/05-SubscribeDataWithCombine.swift)
![05-SubscribeDataWithCombine](https://github.com/linhay/RepoImages/blob/main/SectionUI/05-SubscribeDataWithCombine.png?raw=true)
### [网格视图](./Example/06-Grid.swift)
![06-Grid](https://github.com/linhay/RepoImages/blob/main/SectionUI/06-Grid.png?raw=true)
### [装饰视图](./Example/07-Decoration.swift)
![07-Decoration](https://github.com/linhay/RepoImages/blob/main/SectionUI/07-Decoration.png?raw=true)

## 前提条件:

- 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)。