A wrapper for svg-native + Xcode project. This enables Carthage && SwiftPM support.
This repo also including the CocoaPods's spec file to use svg-native.
Because the upstream does not have tagged version. We release version by ourselves.
svgnative is (via this repo) available through Carthage.
github "SDWebImage/svgnative-Xcode"
svgnative is available through CocoaPods.
pod 'svgnative'
svgnative is available through Swift Package Manager.
let package = Package(
dependencies: [
.package(url: "https://github.com/SDWebImage/svgnative-Xcode", from: "0.2.0")
],
// ...
)
Use svgnative as you would normally, this is just a repo that adds an Xcode proj.
#import <svgnative/SVGRenderer.h>
Note C++ module is C++20 standard and disabled for clang by default currently. Use header include instead.
import svgnative
Use the svgnative/SVGNativeCWrapper.h
instead of C++ headers.
svgnative is available under the Apache License 2.0.
link |
Stars: 0 |
Last commit: 15 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics