Giter Site home page Giter Site logo

kittenyang / a-guide-to-ios-animation Goto Github PK

View Code? Open in Web Editor NEW
1.5K 56.0 358.0 24.04 MB

The source code of my new eBook —— A GUIDE TO IOS ANIMATION. Just click the next link to buy it

Home Page: http://book.kittenyang.com/

License: GNU General Public License v2.0

Objective-C 53.48% Swift 46.52%

a-guide-to-ios-animation's Introduction

A-GUIDE-TO-iOS-ANIMATION

##V2.0

Take it easy! We have no homework this week!

###Update log:

  • 新增:目录
  • 新增:源码 Swift 版。
  • 新增:四个全新 Demo。
  • 新增:简短的创作历程。
  • 新增:新的介绍视频。
  • 优化:新封面。
  • 优化:改正一些技术错误。
  • 优化:调整字体至 17pt 。
  • 优化:修正失效的超链接。
  • 优化:精细排版,去除了不必要的干扰元素。

###目录:

第一章:序言

  • 感谢 ii
  • 创作历程 iii

第二章:玩转贝塞尔曲线

  • KYAnimatedPageControl 6
  • GooeySlideMenu 13
  • QQ 未读气泡的拖拽交互 25
  • LiquidLoader 28

第三章:Core Animation

  • 模仿 Twitter 启动动画 35
  • 圆圈遮罩转场动画 44
  • 任意位置圆圈放大转场动画 50
  • Game Center 起泡晃动效果 50
  • 图片弹跳切换动画 51
  • 下载按钮动画 56
  • 一个 loading 动画 65

第四章:动画中的数学

  • InteractiveCard 71
  • 锤子邮件下拉刷新动画 76
  • 模仿 tvOS 卡片悬浮扭动效果 84

第五章:自定义属性动画

  • 粘性菜单 91

第六章:其他效果

  • 重力回弹的锁屏界面 107
  • UIKitDynamics 114
  • 下雪效果 122
  • 点赞水花溅起效果 125
  • 3则 CAReplicatorLayer loading 动画 128

##V1.0

A package of fun contents for serious people.

###Update log:

  • Objective-C version.
  • A new interactive book that you never seen before.Beautiful layout,funny widgets,and so on.
  • 14 demos with source code and detailed tear down with funny components.

a-guide-to-ios-animation's People

Contributors

jakelin avatar kittenyang avatar ynot16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

a-guide-to-ios-animation's Issues

书没有收到

你好,我在微店铺买了电子书,但是没收到货?订单状态显示卖家已经发货

DownloadButton 动画问题

您好,感谢分享这么好的demo,发现一个问题,当开始进度条动画的时候,快速点击触发tap事件,会报错: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored.Please fix this problem.
然后动画就彻底失效了,原demo也有这个问题,不知道怎么回事,望解答

读后感

书写得真的是很认真,但是看书的时候还是感觉不知道何处下手,书中的代码跳跃性太强。

SplashAnimiationDemo中图片mask不显示的bug

window的rootViewController如果不使用Main中的UINavigationController,而是用代码创建,那么UINavigationController的view.layer.mask显示不出来!!!大神能否帮忙看下

KYPingTransition中的finalPoint计算

这里的触发点指的是什么概念?以及finalPoint指的是什么?不明白这两个概念所以也看不懂计算。

CGFloat radius = sqrt((finalPoint.x * finalPoint.x) + (finalPoint.y * finalPoint.y));
    UIBezierPath *maskFinalBP = [UIBezierPath bezierPathWithOvalInRect:CGRectInset(button.frame, -radius, -radius)];

LoadingHUD问题

  • (void)viewDidLoad
    {
    [super viewDidLoad];

    [LoadingHUD showHUD];
    }
    没有任何效果一片空白,把代码改成
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
    [LoadingHUD showHUD];
    });

就会看到效果,同样是主线程,为什么会有这样的问题???

How to get this e-book now?

最近看到大神的这个e-book,想拜读下,不知道该如何获取,望学习,谢谢
可以donate
谢谢

关于购买

我想问一下,2.0版本只是在包含了1.0版本的基础上加了点东西么?

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.