Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 985 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 985 Bytes

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.

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:

  • Load remote file
  • Play, pause and stop
  • Repeat count and looping
  • Objective-C support
  • Completion block
  • Caching
  • Play backwards (boomerang style)
  • macOS support