Other Classes

The following classes are available globally.

  • Concrete implementation that creates a CAShapeLayer from a <ellipse> element and its attributes

    See more

    Declaration

    Swift

    class SVGEllipse: SVGShapeElement
  • Concrete implementation of SVGParser that uses Foundation’s XMLParser to parse a given SVG file.

    See more

    Declaration

    Swift

    open class NSXMLSVGParser: XMLParser, XMLParserDelegate
  • A minimal in-memory cache class for caching SVGLayers. The default singleton is the default cache used and you can optionally create your own static singleton through an extension.

    See more

    Declaration

    Swift

    class SVGCache
  • Concrete implementation that creates a CAShapeLayer from a <circle> element and its attributes

    See more

    Declaration

    Swift

    class SVGCircle: SVGShapeElement
  • A CAShapeLayer subclass that allows you to easily work with sublayers and get sizing information

    See more

    Declaration

    Swift

    open class SVGLayer: CAShapeLayer, SVGLayerType
  • Concrete implementation that creates a container from a <g> element and applies its attribites to all sublayers

    See more

    Declaration

    Swift

    class SVGGroup: SVGContainerElement
  • A UIView subclass that can be used in Interface Builder where you can set the @IBInspectable propert SVGName in the side panel. Use the UIView extensions if you want to creates SVG views programmatically.

    Declaration

    Swift

    open class SVGView : UIView
  • Concrete implementation that creates a CAShapeLayer from a <line> element and its attributes

    See more

    Declaration

    Swift

    class SVGLine: SVGShapeElement