MJParallaxCollectionView 视差滑动效果
来源:互联网 发布:php中连接符 编辑:程序博客网 时间:2024/06/07 14:51
UICollectionView的动画效果,滑动时让 CollectionView 的每一行产生视差(Parallax)滑动效果。
Github源地址
This is a parallax for the cells inside UICollectionView. It gives us an effect just like scrolling the images in Whatsapp or scrolling through the Weather app for iOS.
Setting it up is really simple.
- Just create a NSString array contaning all the names for the images.
- Set up the Collection View datasource and delegate methods.
- Set the scrollViewDidScroll delegate method for your UICollectionView.
- That's it. Now run!
Optionally, you can change the animation speed for the images or the height of the images in the UICollectionViewCell by chnaging the constants used in MJCollectionViewCell.h
0 0
- MJParallaxCollectionView 视差滑动效果
- Android List - 视差效果的 Item 滑动变大
- Android的Viewpager视差滑动效果小demo
- 视差效果
- ViewPager切换时粘滞视差的效果--模仿美丽说HIGO全球买手圈的滑动效果
- 滑动tableView表单时cell图片的视差效果实现分析
- Parallax视差动画效果
- ListView头部视差效果
- win10 uwp 视差效果
- 视差效果实现
- tableview 视差效果
- 背景移动视差效果
- 视差滚动效果
- CCParallaxNode类和视差效果
- ViewPager的视差背景效果
- android图片视差滚动效果
- 下拉刷新头部视差效果
- 下拉刷新的视差效果
- 全局变量、extern/static/const区别与联系
- nutch1.7 url过滤规则
- 基于UKey数字证书实现身份认证
- 软件开发人员的出路
- 矩阵练习
- MJParallaxCollectionView 视差滑动效果
- sort()函数与qsort()函数及其头文件
- 支付宝集成
- C++_文本文件读写常用代码
- Spice 客户端GTK版本,安装依赖环境
- zoj 3802 Easy 2048 Again (14.8 浙大月赛 E)
- c++ 局部对象指针及到底是在堆上创建的对象还是在栈上创建的?
- 通过修改apache改变域名指向
- 71道经典Android面试题和答案--重要知识点都涉及到了