Skip to content
UICollectionView列表和网格之间切换的Demo,带动画效果。
Objective-C
Branch: master
Clone or download
Hank-Zhong 使用自行计算的width
明明自己备注了“接收到通知时 cell的frame并不准确,此时如果需要用到self.width,则需要自行计算”
可还是使用了self.frame.size.width,典型的反面案例ヽ(;´Д`)ノ
Latest commit 0040ea1 Apr 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HYChangeableCollection.xcodeproj
HYChangeableCollection 使用自行计算的width Apr 28, 2019
Masonry/Masonry
image
.gitignore Initial commit Jan 2, 2019
LICENSE Initial commit Jan 2, 2019
README.md Update README.md Apr 3, 2019
切换动画.gif 移除以右边为约束对象的约束 Jan 3, 2019
动画慢放.gif

README.md

HYChangeableCollection

LICENSE

UICollectionView列表和网格之间切换的Demo,带动画效果。

详细介绍请参考我的博客简书

You can’t perform that action at this time.