Skip to content

A UIView subclass that plays Core Animation Archive (.caar) files

Notifications You must be signed in to change notification settings

natanrolnik/Glider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A UIView subclass that plays Core Animation Archive (.caar) files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages