A simple toolkit for displaying and manipulating SVGs on iOS and macOS in a performant manner. The goal of this project is not to be a fully compliant SVG parser/renderer. But rather to use SVG as a format for serializing CG/UIPaths, meaning it only supports SVG features that can be represented by CG/UIPaths. Thoroughly documented.

Features

  • Support for SVG elements: path, line, polyline, polygon, rect, circle, ellipse
  • Support for SVG named colors
  • Fully working iOS and macOS demos
  • Straightforward API for typical SVG rendering as a UIImageView/NSImageView or CALayer subclass
  • Access every shape within your SVG as a CGPath for more fine-grained manipulation
  • Render an SVG file using SVGImageView

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow PocketSVG

PocketSVG Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PocketSVG!

Additional Project Details

Programming Language

Objective C

Related Categories

Objective C Libraries

Registered

2023-06-19