A SwiftUI framework for parsing and rendering SVG files with full interactivity and animation support on Apple platforms.
SVGView is an SVG parser and renderer written entirely in SwiftUI, designed to bring the full power of Scalable Vector Graphics to iOS, macOS, and watchOS applications. It enables developers to not only display SVG assets but also manipulate them dynamically, add gestures, and integrate them seamlessly into the SwiftUI view lifecycle.
SwiftUI developers building apps for Apple platforms (iOS 14+, macOS 11+, watchOS 7+) who need to display, animate, or make interactive vector graphics.
Developers choose SVGView because it provides native SwiftUI integration for SVGs, allowing runtime customization, gesture support, and animation using standard SwiftUI APIs, unlike static image rendering alternatives.
SVG parser and renderer written in SwiftUI
Seamlessly embeds SVGs into SwiftUI views, allowing declarative UI building. The README shows SVGView used directly in SwiftUI body with standard view modifiers.
Enables adding gestures like tap and drag to individual SVG nodes via identifiers, as demonstrated in code snippets for onTapGesture and property changes.
Leverages SwiftUI animation APIs for smooth transitions, with examples using withAnimation blocks to animate opacity and transforms.
Aims for full SVG 1.1, Tiny 1.2, and 2.0 compliance, with a linked coverage page to track progress, showing commitment to broad spec support.
The README admits the project is 'at its very beginning' with a tests coverage page, indicating potential gaps in SVG feature support that may break complex assets.
Limited to iOS 14+, macOS 11+, and watchOS 7+, making it unsuitable for cross-platform development outside Apple's ecosystem.
Parsing and rendering SVGs entirely in SwiftUI could introduce performance bottlenecks for large or complex graphics compared to native rendering engines.
RSS reader for macOS and iOS.
FeedKit is a Swift library for Reading and Generating RSS, Atom, and JSON feeds.
WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.
Excel spreadsheet (XLSX) format parser written in pure Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.