Skip to content
/ DizzyKit Public
forked from bjarkehs/DizzyKit

Simple animation library that allows you to easily animate things

License

Notifications You must be signed in to change notification settings

Fogh/DizzyKit

 
 

Repository files navigation

DizzyKit Build Status CocoaPods Compatible Carthage Compatible

Simple animation library that allows you to easily animate things.

This framework is heavily inspired by Spruce. The reason I made this is because I needed a framework to do animations without having to put them in a container view first.

The framework attempts to be compatible with latest version of Swift. Please check the Swift version matrix to see which version supports your Swift version. The last verified version of Swift is 5.3 but it may still compile on later versions. The lowest version of iOS supported is 10.

Installation

Swift version matrix

Below is a table that shows which version of DizzyKit you should use for your Swift version.

Swift DizzyKit
5.X 3.X
4.X 2.X
3.X 1.X

CocoaPods

Use the following entry in your Podfile:

pod 'DizzyKit', '~> 3.0'

Then run pod install.

Carthage

Add the following to your Cartfile:

github "bjarkehs/DizzyKit" ~> 3.0

Then run carthage update.

Usage

let animations: [AnimationType] = [.fadeIn, .slide(.up, .moderately)]

view.dizzy.prepare(with: animations)
view.dizzy.animate(animations)

About

Simple animation library that allows you to easily animate things

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 94.4%
  • Ruby 3.2%
  • Objective-C 2.4%