ZLCollectionView
ZLCollectionView copied to clipboard
为应对类似淘宝首页,京东首页,国美首页等复杂布局而写的Collectionview。基于UICollectionView实现,目前支持标签布局,列布局,百分比布局,定位布局,填充式布局,瀑布流布局等。支持纵向布局和横向布局,可以根...
UICollectionView+ARDynamicCacheHeightLayoutCell自动行高计算库,导致cell初始化两次怎么解决?

 大神,为什么会报着这种错呀
Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionReusableView that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View:
collectionview在做insert的时候,有一定几率触发,出现过几次 ```swift collectionView.performBatchUpdates { collectionView.insertItems(at: idx) } completion: { _ in } ``` 参考1[https://stackoverflow.com/questions/30562493/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforitematinde](url) 参考2[https://stackoverflow.com/questions/38005641/no-uicollectionviewlayoutattributes-instance-for-layoutattributesforsupplementa](url) 参考3[https://stackoverflow.com/questions/20436022/using-uicollectionview-performbatchupdates-with-a-uicollectionviewflowlayout](url)
控制台报以下错误,我搜了一下, 是设置translatesAutoresizingMaskIntoConstraints = false才会出现的。 Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionReusableView that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View:
你好: 请问ZLCollectionViewBaseFlowLayout.m文件476行trigerInsetEnd的值为0作为分母是否不合理呢?
0 libobjc.A.dylib | objc_retain + 16 -- | -- 1 ZLCollectionViewFlowLayout | -[ZLCollectionViewVerticalLayout collectionViewContentSize] + 60 2 UIKitCore | -[UICollectionView _updateAnimationDidStop:finished:context:] + 1724 3 UIKitCore | ___71-[UICollectionView _updateWithItems:tentativelyForReordering:animator:]_block_invoke.1926 + 88...
As the title mentioned, I wonder how can i use animations such as fade, top, bottom, etc.. when insert/delete items. If i perform batch with default animation when inserting items,...