https://github.com/natanrolnik/glider
A UIView subclass that plays Core Animation Archive (.caar) files
https://github.com/natanrolnik/glider
animations core-animation kite swift4
Last synced: over 1 year ago
JSON representation
A UIView subclass that plays Core Animation Archive (.caar) files
- Host: GitHub
- URL: https://github.com/natanrolnik/glider
- Owner: natanrolnik
- Created: 2018-04-04T17:11:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-23T14:30:56.000Z (about 8 years ago)
- Last Synced: 2025-04-21T08:13:46.030Z (over 1 year ago)
- Topics: animations, core-animation, kite, swift4
- Language: Swift
- Size: 66.4 KB
- Stars: 12
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Glider
### A view to play Core Animation Archive (.caar) files
A **Core Animation Archive** is a file that encodes, via `NSKeyedArchive`, a `CALayer` hierarchy and its animations. You can generate it programatically on iOS and macOS, or with the insanely intuitive and powerful [Kite](https://kiteapp.co).
**Glider** is an extremely thin and light set of types that:
* takes care of loading a `CALayer` from a `.caar` file (either locally or from a remote server)
* renders its contents in a `UIView`,
* gives simple control over the animation, like playing, pausing, stopping, looping, and completion.
Check the playgrounds to see an example of how to use it.
## Usage
## Installation
* CocoaPods (To Do)
* Carthage (To Do)
* Submodule
* Drag and drop
## Features/Roadmap:
- [x] Load remote file
- [x] Play, pause and stop
- [x] Repeat count and looping
- [x] Objective-C support
- [x] Completion block
- [ ] Caching
- [ ] Play backwards (boomerang style)
- [ ] macOS support