Skip to content

linhay/SectionKit

Repository files navigation

Platforms Pods Version Platforms

---

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

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

示例

01-Introduction

02-MultipleSection

03-FooterAndHeader

04-LoadAndPull

05-SubscribeDataWithCombine

06-Grid

07-Decoration

前提条件:

  • Swift 5.8
  • iOS 13.0+

安装

  • Swift Package Manager

    https://github.com/linhay/SectionKit
  • Cocoapods

    pod 'SectionUI', '2.4.0'

Antigravity Skills

This project includes a set of "Skills" designed for AI coding assistants (like Antigravity). These skills provide context, patterns, and best practices for working with SectionKit.

You can find them in the .agent/skills directory:

  • sectionui-section: Master skill for creating and configuring SKCSingleTypeSection.
  • sectionui-cell: Master skill for creating robust UICollectionViewCells.
  • sectionui-common: Universal utilities, including wrappers and reactive bindings.
  • sectionui-page: Memory-efficient pagination.
  • sectionui-selection: Selection state management.
  • sectionui-preview: SwiftUI Previews support.

To use these skills, simply ask your AI assistant to read the relevant skill file (e.g., "Read the sectionui-section skill").

Quick Integration

You can easily enable these skills for other AI coding assistants by creating symbolic links:

GitHub Copilot:

mkdir -p .github
ln -s ../.agent/skills .github/skills

Claude Desktop:

mkdir -p .claude
ln -s ../.agent/skills .claude/skills

References

License

SectionUI 遵循Apache License

About

A data-driven UICollectionView framework for building fast.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages