Giter Site home page Giter Site logo

d3view's Introduction

#D3View ##简介 一句代码轻松实现IOS常用动画效果的超轻量库,旨在实现一些简单的动画效果基础
有swift和oc的版本。需要什么版本自己拖到项目,两者只需其中一个
Swift只需要拖D3View.swift到项目,Objective-c需要D3View.h和D3View.m到项目,都是UIView扩展类

有希望实现的动画效果可以提issue,本人有空可以尝试实现 0.0
也希望有朋友可以贡献实现一些动画效果。 右上角给个star呗亲~

##使用 因为是扩展,所以只要是uiview的子类都可以使用。 动画都是以d3_开头的方法,避免扩展冲突

要实现左右摇,只需一句代码:

view.d3_shake()  

噢耶,得咗
其他动画效果参照代码,在ViewController有使用例子

此处输入图片的描述

##安装使用(swift) ###使用CocoaPods (iOS 8+, OS X 10.9+)

pod 'D3View', '~> 1.2.0' swift调用framework需要import D3View

###普通使用 拖动D3View目录到你的项目,只需拖动D3View.swift文件
OC的只需拖动D3View.h和m文件

d3view's People

Contributors

mozhenhau avatar

Watchers

 avatar  avatar

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.