Skip to content

Commit a31b60a

Browse files
ivanvorobeiclaude
andcommitted
Align project meta with sparrowcode template
Restructure README with Installation and Usage sections, bump swift-tools-version to 6.2, normalize gitignore comment. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d66291a commit a31b60a

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# osX files
1+
# macOS Files
22
.DS_Store
33
.Trashes
44

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.2
22

33
import PackageDescription
44

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# DiffableKit
22

3-
Wrapper around `UITableViewDiffableDataSource` and `UICollectionViewDiffableDataSource`. Just call `set()` with your content whenever something changes — diffing, animations, and cell updates are handled automatically under the hood.
3+
Declarative wrapper around `UITableViewDiffableDataSource` and `UICollectionViewDiffableDataSource`. Describe sections and items, call `set()` — diffing, animations, and cell updates are handled automatically.
44

5-
Built-in row types for settings screens. Cell provider, header/footer provider, delegate with actions — all wired up declaratively.
5+
## Installation
6+
7+
In Xcode: File → Add Package Dependencies → paste URL:
8+
9+
```
10+
https://github.com/sparrowcode/DiffableKit
11+
```
12+
13+
## Usage
614

715
```swift
816
class SettingsController: DiffableTableController {

0 commit comments

Comments
 (0)