pavankataria/SwiftDataTables
소개
iOS에서 격자 형태의 데이터 집합을 보기 좋게 표로 표시하는 Swift 데이터 테이블 패키지입니다. UICollectionView를 서브클래싱하여 확장 가능한 옵션으로 정렬과 검색을 지원합니다.
웹 및 앱 개발What you can do
- Type-Safe Columns - Declarative API with key paths and custom transforms
- Animated Diffing - Smooth updates that calculate exactly what changed
- Self-Sizing Cells - Automatic row heights, efficient for 100k+ rows
- 928x Faster - 50,000 rows in 0.25s (was 4+ minutes)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
The powerful, flexible data table component that iOS deserves.
Display grid-like data with sorting, searching, and smooth animations — all in just a few lines of code.
Shape the Roadmap
Vote for features — your votes decide what gets built next.
See the complete documentation →
Guides & API Reference
Explore the docs — step-by-step tutorials, real-world patterns, and complete API reference. From first table to production-ready.
Features
| Feature | Description |
|---|---|
| Type-Safe Columns | Declarative API with key paths and custom transforms |
| Animated Diffing | Smooth updates that calculate exactly what changed |
| Self-Sizing Cells | Automatic row heights, efficient for 100k+ rows |
| 928x Faster | 50,000 rows in 0.25s (was 4+ minutes) |
| Custom Cells | Full Auto Layout support via cell providers |
| Fixed Columns | Freeze columns on left or right sides |
| Sorting & Search | Built-in or native navigation bar search |
Quick Start
import SwiftDataTables
struct Employee: Identifiable {
let id: String
let name: String
let role: String
}
let columns: [DataTableColumn<Employee>] = [
.init("Name", \.name),
.init("Role", \.role)
]
let dataTable = SwiftDataTable(columns: columns)
dataTable.setData(employees, animatingDifferences: true)
See the full documentation → — step-by-step tutorials, real-world patterns, and complete API reference. From first table to production-ready.
Install
Swift Package Manager
dependencies: [
.package(url: "https://github.com/pavankataria/SwiftDataTables", from: "0.9.0")
]
Or in Xcode: File → Add Package Dependencies → https://github.com/pavankataria/SwiftDataTables
Demo App
- Clone the repo
- Open
SwiftDataTables.xcodeproj - Select the
DemoSwiftDataTablesscheme - Build and Run
Support
Author
Pavan Kataria — @pavan_kataria
License
MIT License. See LICENSE for details.
관련 프로젝트 살펴보기
불러오는 중…