sauchye / iosdev_notes

iOS Dev Tips(一些零散的iOS知识tips)
19 stars 5 forks source link

iOS进阶(anminations、runtime、runloop、gcd) #13

Open sauchye opened 9 years ago

sauchye commented 9 years ago

Block

https://www.zybuluo.com/MicroCai/note/51116

https://blog.csdn.net/wtdask/article/details/76229469

https://blog.csdn.net/abc649395594/article/details/47086751

Runtime

https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/

http://tech.glowing.com/cn/objective-c-runtime/

http://yulingtianxia.com/blog/2014/11/05/objective-c-runtime/

http://southpeak.github.io/blog/2014/10/25/objective-c-runtime-yun-xing-shi-zhi-lei-yu-dui-xiang

http://www.jianshu.com/p/e071206103a4#

Runloop

http://blog.ibireme.com/2015/05/18/runloop/

http://chun.tips/blog/2014/10/20/zou-jin-run-loopde-shi-jie-er-:ru-he-pei-zhi-run-loop-sources/

http://www.jianshu.com/p/549c37f60bf7#

Multithreading

http://www.saitjr.com/ios/ios-multithreading-nsoperation.html

http://www.jianshu.com/p/0b0d9b1f1f19

http://blog.devtang.com/blog/2012/02/22/use-gcd/

https://github.com/ChenYilong/ParseSourceCodeStudy

http://www.jianshu.com/p/ae786a4cf3b1#

http://chengway.in/gcd-zui-jia-shi-jian-zhi-nan/

http://www.cnblogs.com/kenshincui/p/3983982.html#NSOperation

http://www.cnblogs.com/wendingding/tag/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E7%AF%87/

https://www.jianshu.com/p/2d57c72016c6

http://blog.leichunfeng.com/blog/2015/07/29/ios-concurrency-programming-operation-queues/

MVVM

http://blog.devtang.com/blog/2015/11/02/mvc-and-mvvm/

http://www.ruanyifeng.com/blog/2015/02/mvcmvp_mvvm.html

http://www.cnblogs.com/ludashi/p/4211556.html

http://www.ios122.com/2015/10/mvvm_start/

https://github.com/leichunfeng/MVVMReactiveCocoa

性能调试

https://everettjf.github.io/2018/12/12/ios-app-launch-perf-coll/

架构组件化

https://blog.cnbluebox.com/blog/2015/11/28/module-and-decoupling/

https://www.jianshu.com/p/afb9b52143d4

https://www.jianshu.com/p/f1a05a95de92

https://casatwy.com/iosying-yong-jia-gou-tan-kai-pian.html

iOS底层原理总结

https://www.jianshu.com/nb/24110540

源码分析

https://github.com/draveness/analyze

sauchye commented 9 years ago

Animation

intro

UIDynamicAnimator

CAReplicatorLayer (音乐跳动动画、等待动画、跟随动画)

Facebook-POP

Other


应用

tableViewCell动态加载显示效果

https://github.com/KittenYang/KYCellAnimation

UIBezierPath+CAShapeLayer

http://www.jianshu.com/p/c5cbb5e05075# http://blog.csdn.net/liangliang2727/article/details/46338795

类似网易,QQ音乐播放时,图片循环转动。

- (void)rotationAnimation{

    CABasicAnimation *rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
    rotationAnimation.fromValue = 0;
    rotationAnimation.toValue = @(M_PI * 2);
    rotationAnimation.repeatCount = NSIntegerMax;
    rotationAnimation.duration = 3;
    [self.appleLogo.layer addAnimation:rotationAnimation forKey:nil];
}

参考: https://github.com/AndyZhaoHe/QQMusic

点击按钮后变大效果

   CABasicAnimation *scaleAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
    scaleAnimation.fromValue = [NSNumber numberWithFloat:0.8];
    scaleAnimation.toValue = [NSNumber numberWithFloat:1.2];
    scaleAnimation.autoreverses = YES;
    scaleAnimation.fillMode = kCAFillModeForwards;
    scaleAnimation.duration = 0.2;
    [sender.layer addAnimation:scaleAnimation forKey:@"scaleAnimation"];

http://www.cnblogs.com/wengzilin/p/4250957.html

sauchye commented 5 years ago

GPUImage https://www.jianshu.com/c/1f71fb708595 https://github.com/Guikunzhi/BeautifyFaceDemo

OpenGL ES https://www.jianshu.com/nb/2135411 https://learnopengl-cn.github.io/

All https://github.com/BiBoyang/GoldHouse-for-iOS