This is a standalone svg image rep for macOS written in Objective-C. The idea behind it was to have svg image support without the least external dependencies possible.
Note however that it is by no means complete yet.
It is loosely based on older work on PocketSVG by Martin Haywood, Bob Monaghan, John Blanco
To use in your own projects, import the SVGImageRep class and header into your project.
#import "SVGImageRep.h"
Register the image rep as early in the application execution as possible
[NSImageRep registerImageRepClass: [SVGImageRep class]];
After registration svg images can be loaded as you would expect.
NSImage *testImage = [NSImage imageNamed: @"SVG_logo"];
For more information and a working sample check out the XCode project.
The SVG_logo.svg sample image is licenced under the CC 2.5.
BSD (Berkeley Software Distribution) License. Copyright (c) 2017, Impending