Code Monkey home page Code Monkey logo

dizzykit's Introduction

DizzyKit Build Status CocoaPods Compatible Carthage Compatible Swift Package Manager 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.

Swift Package Manager

To install DizzyKit without Xcode UI, add the following to your Package.swift:

.package(url: "https://github.com/bjarkehs/DizzyKit.git", .upToNextMajor(from: "3.0.0"))

Usage

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

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

dizzykit's People

Contributors

bjarkehs avatar fogh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

carabina fogh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.