摘要:
精美UI界面欣赏 阅读全文
摘要:
替换NSUserDefaults的方案 效果 源码 https://github.com/YouXianMing/iOS-Utilities 细节 阅读全文
摘要:
根据UIScrollView的contentOffset值精确控制动画 效果 原理 根据方程精确计算每一个view在位移值x变化的时候的输出值,并根据这个值实现各种逻辑。 源码 https://github.com/YouXianMing/Animations 细节 阅读全文
摘要:
gzip格式解压缩 有时候网络请求中会出现gzip格式的数据,而我们无法通过常规办法进行解析: 这时候可以使用下面的这个工具来解决这个问题: https://github.com/mattt/Godzippa 注意,使用的时候需要引入一个lib: 本人写好的示例代码: https://github. 阅读全文
摘要:
震动效果 效果 源码 https://github.com/rFlex/SCViewShaker https://github.com/YouXianMing/Animations // // UIView+Shake.h // Animations // // Created by YouXian 阅读全文
摘要:
用SDWebImage加载FLAnimatedImage 效果 源码 https://github.com/YouXianMing/Animations // // GifPictureController.m // Animations // // Created by YouXianMing o 阅读全文
摘要:
用UIInterpolatingMotionEffect产生透视效果 效果 源码 https://github.com/YouXianMing/Animations // // MotionEffectViewController.m // Animations // // Created by Y 阅读全文
摘要:
将CAGradientLayer当做mask使用 效果 源码 https://github.com/YouXianMing/Animations // // CAGradientView.h // MaskView // // Created by YouXianMing on 16/2/15. / 阅读全文
摘要:
UITableView加载网络数据的优化 效果 源码 https://github.com/YouXianMing/Animations // // TableViewLoadDataController.m // Animations // // Created by YouXianMing on 阅读全文
摘要:
沿着path路径做动画路径效果源码//// ViewController.m// PathAnimation//// Created by YouXianMing on 16/1/26.// Copyright © 2016年 YouXianMing. All rights reserved... 阅读全文