Elephant
This is SVG animation presentation kit for iOS.
Example
You can run example app. Please open Example-iOS/Elephant-iOS.xcworkspace
!
Usage
You can display the svg image with animation.
We are supportted two animation formats?
The format is below.
- Animation in SVG
- Animation in CSS
Usage is difference by the format.
SVGView initialization
This is initialization SVGView for format 1 (Animation in SVG) usage.
This is initialization SVGView for format 2 (Animation in CSS) usage.
Show in your ViewController
And, you initialized view, you have to do is only add view to parent view, and start animation like below.
Requirements
- Xcode 10.2
- Swift 5.0
Installation
CocoaPods
Add this to Podfile
Carthage
Carthage
Add this to Cartfile
github "kzumu/Elephant"