Latest 0.0.1
Homepage https://github.com/freddietilley/SmallSVGRep
License BSD-License 2
Platforms osx 10.9
Authors

Standalone svg image rep for macOS

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

Basic Usage

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.

License

BSD (Berkeley Software Distribution) License.
Copyright (c) 2017, Impending

Latest podspec

{
    "name": "SmallSVGRep",
    "version": "0.0.1",
    "summary": "Standalone svg image rep for macOS",
    "description": "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 amount of external dependencies possible.",
    "homepage": "https://github.com/freddietilley/SmallSVGRep",
    "license": "BSD-License 2",
    "authors": {
        "Freddie Tilley": "[email protected]"
    },
    "platforms": {
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/freddietilley/SmallSVGRep.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "SmallSVGRep/SVGImageRep.h",
        "SmallSVGRep/SVGImageRep.m"
    ]
}

Pin It on Pinterest

Share This