Releases: tyeporter/SwiftIcons
Releases · tyeporter/SwiftIcons
Release list
v0.2.1
v0.2.0
Native Image Rendering
Extends SwiftIcon with platform-aware rendering helpers that convert icon views into native image types using ImageRenderer.
New Features ✨
- Introduces
.toImage(),.toUIImage()and.toNSImage()helpers toSwiftIconfor converting icons into native image formats.
v0.1.2
Bug Fix 🐞
Fixes bug where some Phosphor icons weren't displaying correctly because sanitizeAndEscapeSVG removed any rect with fill="none". The idea was to remove bounding boxes, but the search and replace was too aggressive. The line is no longer needed now that SwiftIcons uses SVGView.
v0.1.1
Bug Fix 🐞
Fixes bug where icons with an unspecified size argument would grow unbounded and break layouts. SwiftIcon now uses the @ScaledMetric property wrapper to provide a 20pt default size (relative to body font) when no size argument is provided.
v0.1.0
Initial Beta Release
This is rough draft of an idea that came to mind after sharing SwiftColors.
What's Included:
- Icon sets for Bootstrap, Feather, FontAwesome, Heroicons, Lucide, Phosphor, and Tabler
- Icons inherit
.foregroundStyle(),.foregroundColor(), system materials, and gradients via alpha-masking SwiftIconsutilizes exyte/SVGView to safely parse svg strings