Swiftpack.co - swiftviz/Scale as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by swiftviz.
swiftviz/Scale 0.8.0
Scale types usable for visualization, inspired by D3
⭐️ 9
🕓 3 days ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/swiftviz/Scale.git", from: "0.8.0")

SwiftVizScale

codecov

@heckj

Scale and related types to support creating visualizations. Loosely based on the APIs and mechanisms created by Mike Bostock and contributors to D3.js

Build and test

git clone https://github.com/swiftviz/scale
cd scale
swift test -v

Generate documentation images for the included color scales

cd utils
swift run GenerateDocImages

then optionally move the files into the DocC resources directory:

mv *.png ../Sources/SwiftVizScale/Documentation.docc/Resources/

GitHub

link
Stars: 9
Last commit: 3 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.8.0
3 days ago

Concurrency Updates!

The API has changed due to adding Sendable conformances, and constraining some types to @MainActor in order to achieve strict concurrency support. I'm still working on adding full snippets support and expanding examples, but wanted to get the concurrency update out there, even without all the docs I'd hoped to have in place by now.

What's Changed

Full Changelog: https://github.com/swiftviz/Scale/compare/0.7.5...0.8.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics