Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added Demo/screenshots/heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Demo/screenshots/heatmap2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<p align="center">
<img src="Demo/screenshots/heatmap.png" width="300" alt="Detail tab — three full-width heatmaps stacked, each in its own palette and card background">
&nbsp;&nbsp;
<img src="Demo/screenshots/heatmap2.png" width="300" alt="Boards tab — Streaks-style habit grid showing six different palettes side by side">
</p>

<p align="center">
<em>From a single contribution grid to a full habit-tracker UI — both screens above are built with <code>CalendarHeatmap</code>, no extra views.</em>
</p>

## 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.
Expand Down
Loading