SVGView

open class SVGView : UIView

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.

  • The name of the SVG file in the main bundle

    Declaration

    Swift

    @IBInspectable
    open var svgName: String? { get set }