Skip to content
Igor Zapletnev edited this page Nov 24, 2016 · 14 revisions

This tutorial shows how to render SVG file with the Macaw library with zero lines of code.

SVGView

The simplest way to render SVG file is to use SVGView.

  • Drop View from 'Object Library'
  • Select SVGView class as a view class
  • Specify SVG file name to render

SVGView class is available since v0.8.0. For lower versions you could use SVGParser directly.

XCode screenshot + simulator

Content Mode

SVGView supports all default content mods.

Clone this wiki locally