SwiftSVG is not meant to be a full SVG parser. The library supports the most common use cases of flat, solid-color SVG elements. It supports grouping and transformations and can parse all path and shape elements. The best use case for SwiftSVG is for flat icons that you may want to theme at runtime and have good control over. Think icons for your app, especially if you offer light and dark themes. The library can handle complex paths, and more importantly can handle them quickly, so you can use it to display many SVGs, just not every single use case. See the complex example in the examples app. At this time, gradients are not supported, but this is high on the list of features to support next. Furthermore, text is not supported at this time, but shouldn't be too difficult to support. Animations are the last major category that isn't supported, and they probably won't be in the near future seeing Cocoa already provides rich support.

Features

  • Parsing performance that meets or beats other popular SVG Frameworks
  • A simple architecture, optimized for extension, flexibility and developer joy
  • Multiple interface options (UIBezierPath, CAShapeLayer, UIView, and IBDesignable Interface Builder subclass)
  • A minimal cache for improved performance
  • Tested and documented
  • SwiftSVG is not meant to be a a full SVG parser

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow SwiftSVG

SwiftSVG Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SwiftSVG!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Frameworks

Registered

2023-06-14