Code Monkey home page Code Monkey logo

acanimationdemo's Introduction

HCAnimationDemo

一句话实现常用动画,操作简单、接口清晰、代码易懂。 image

##1、功能实现

  • 一句话调用动画、去除动画
  • 动画类型有:缩放、渐变、震动、移动、旋转
  • 其中震动和旋转是有多种组合模式的

##2、使用

  • 直接下载该demo,其中项目中的HCAnimation文件夹存放的是封装好的动画代码
  • ViewController中是对动画代码的调用
  • 注意的地方
//头文件的添加
#import "CAAnimation+HCAnimation.h"

//都是类方法,调用的时候用的是`CAAnimation`类

##3、Q-A

  • 动画组合或者新样式很多,可以自己去修改HCAnimation文件夹下的代码,来实现自己所需要的功能

##4、备注

I am a rookie ,I am not God (有问题或有指教的请 issuse 或者q:331864805 ,你的点赞是我最大的动力,谢谢)

参考文档

acanimationdemo's People

Contributors

honeycao avatar

Stargazers

MohsinAli avatar

Watchers

James Cloos avatar MohsinAli 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.