diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 40b9e3f..32a11c0 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -13,12 +13,14 @@ concurrency: jobs: test: name: swift test (macOS) - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v4 - - name: Select Xcode 15 - run: sudo xcode-select -s /Applications/Xcode_15.4.app + - name: Select latest stable Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable - name: Show Swift version run: swift --version diff --git a/Demo/screenshots/heatmap.png b/Demo/screenshots/heatmap.png new file mode 100644 index 0000000..2dd1ebc Binary files /dev/null and b/Demo/screenshots/heatmap.png differ diff --git a/Demo/screenshots/heatmap2.png b/Demo/screenshots/heatmap2.png new file mode 100644 index 0000000..8a20f6a Binary files /dev/null and b/Demo/screenshots/heatmap2.png differ diff --git a/README.md b/README.md index 2efcefc..e018fcc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ [![SwiftPM](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg)](https://swift.org/package-manager) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](LICENSE) +

+ Detail tab — three full-width heatmaps stacked, each in its own palette and card background +    + Boards tab — Streaks-style habit grid showing six different palettes side by side +

+ +

+ From a single contribution grid to a full habit-tracker UI — both screens above are built with CalendarHeatmap, no extra views. +

+ ## Why HeatmapKit? Most existing heatmap libraries for Apple platforms target UIKit and have not been updated for years. HeatmapKit is built **SwiftUI-first**, supports the full Apple platform family (iOS / macOS / watchOS / tvOS / visionOS), and ships modern interactions like horizontal scrolling, automatic locale-aware month labels, and tap callbacks.