最近在做的iOS app需要实现很多的动画,下面是自己查阅的一些资料,整理在这里。
https://www.raywenderlich.com/119815/sprite-kit-swift-2-tutorial-for-beginners
https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIKit_Framework/index.html#//apple_ref/doc/uid/TP40006955
http://www.ioscreator.com/swift/
http://www.ioscreator.com/swift/
动画篇-layout动画初体验
http://www.cocoachina.com/ios/20160307/15586.html
https://www.raywenderlich.com/76020/using-uigesturerecognizer-with-swift-tutorial
iOS文章列表
https://www.raywenderlich.com/category/ios
ad-hoc
http://www.cnblogs.com/imzzk/p/firim.html
利用fir的ad hoc功能发布ios app:
http://www.cnblogs.com/imzzk/p/firim.html
There are a few things I didn’t mention about CALayers yet:
Layers can have sublayers. Just like views can have subviews, layers can have sublayers. You can use this for some cool effects!
Layer properties are animated. When you change the property of a layer, it is animated over time by default. You can also customize this animation behavior to your own timing.
Layers are lightweight. Layers are lighter-weight than views, and therefore they help you achieve better performance.
Layers have tons of useful properties. You’ve seen a few already, but let’s take a look at a few more!
swift博客
https://onevcat.com/2014/08/notification-today-widget/
Note: Layers are not part of the responder chain so they won’t directly react to touches or gestures like views can, as you saw in the CALayerPlayground example.
However, you can hit test them, as you’ll see in the example code for CATransformLayer. You can also add custom animations to layers, which you’ll see when we get to CAReplicatorLayer.
ANYCLASS,元类型和 .SELF
http://swifter.tips/self-anyclass/
10个CALayer的实例
https://www.raywenderlich.com/90488/calayer-in-ios-with-swift-10-examples
CAReplicatorLayer
http://www.csdn.net/article/1970-01-01/2825659
彻底理解position与anchorPoint
http://www.tuicool.com/articles/MvI7fu3
每一个UIView内部都默认关联着一个CALayer, UIView有frame、bounds和center三个属性,CALayer也有类似的属性,分别为frame、bounds、position、anchorPoint。frame和bounds比较好理解,bounds可以视为x坐标和y坐标都为0的frame,那position、anchorPoint是什么呢?先看看两者的原型,可知都是CGPoint点。
frame.origin.x = position.x – anchorPoint.x * bounds.size.width;
frame.origin.y = position.y – anchorPoint.y * bounds.size.height;
Elastic view animation using UIBezierPath
http://iostuts.io/2015/10/17/elastic-bounce-using-uibezierpath-and-pan-gesture/
http://iostuts.io/
Animations in Swift
http://mathewsanders.com/animations-in-swift-part-two
CGAffineTransformMakeTranslation和CGAffineTransformTranslate、CGAffineTransformScale和CGAffineTransf
http://blog.csdn.net/pilqc2009/article/details/46271525
Bounds and frame:
http://www.cocoachina.com/ios/20140925/9755.html
Good tutorial about Swift Animation
http://mathewsanders.com/animations-in-swift-part-two
Hack with Swift
https://www.hackingwithswift.com/
Controlling Animation Time
http://ronnqvi.st/controlling-animation-timing/
陈浩的Blog
http://coolshell.cn/
CALayer Learning Note
https://www.zybuluo.com/Xiaojun-Jin/note/82969
电子书下载网站
https://www.ebooks-it.net/search/?q=swift&type=title