TouchVGPlay Demo for iOS
This is a unit test and example project for TouchVGPlay, which is a lightweight vector shape playing and animation framework based on vgios for iOS.
API: GiPlayingHelper
Features
- Vector shape playback and recording.
- One drawing, others playback synchronous (Shared whiteboard).
- Shape provider which can play any customized animation.
- Spirit animation (animated GIF).
- Export shapes to CAShapeLayer for animation on path.
How to Compile
Compile with CocoaPods
Type pod install
or pod update --no-repo-update
, then open TestView.xcworkspace
in Xcode and run the TestView
demo app.
- To run on device, you may need to change the Bundle Identifier of the demo application, such as "com.yourcompany.TestView", and choose your own development certificate (Code Signing).
Compile without CocoaPods
Alternatively, you can build as one of the following methods:
-
Cd the folder of this project and type
./build.sh
or./build.sh -arch arm64
to checkout and build libraries needed. -
Open
TestView.xcworkspace
in Xcode, then run theTestView
demo app (Need to build each library while not type./build.sh
).
How to Contribute
Contributors and sponsors are welcome. You may translate, commit issues or pull requests on this Github site. To contribute, please follow the branching model outlined here: A successful Git branching model.
License
This is an open source BSD licensed project. It uses the following open source projects:
- vgios (BSD): Vector drawing framework for iOS.
- vgcore (BSD): Cross-platform vector drawing libraries using C++.
- TouchVGPlay (GPL): Shape playing and animation framework based on TouchVG.