kingjiajie / JJCollectionViewRoundFlowLayout_Swift

JJCollectionViewRoundFlowLayout_Swift是JJCollectionViewRoundFlowLayout(OC:https://github.com/kingjiajie/JJCollectionViewRoundFlowLayout )的Swift版本,JJCollectionViewRoundFlowLayout可设置CollectionView的BackgroundColor,可根据用户Cell个数计算背景图尺寸,可自定义是否包括计算CollectionViewHeaderView、CollectionViewFootererView或只计算Cells。设置简单,可自定义背景颜色偏移,设置显示方向(竖向、横向)显示,不同Section设置不同的背景颜色,设置Cell的对齐方式,支持左对齐,右对齐,居中。
MIT License
73 stars 13 forks source link

在performBatchUpdates中调用deleteItems 删除 cell 崩溃 #12

Open jiangmingz opened 2 years ago

jiangmingz commented 2 years ago

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'no UICollectionViewLayoutAttributes instance for -layoutAttributesForDecorationViewOfKindOfKind: com.JJCollectionViewRoundSectionSwift at path <NSIndexPath: 0xaaee6f0d73fffca8> {length = 2, path = 0 - 0}'

kingjiajie commented 2 years ago

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'no UICollectionViewLayoutAttributes instance for -layoutAttributesForDecorationViewOfKindOfKind: com.JJCollectionViewRoundSectionSwift at path <NSIndexPath: 0xaaee6f0d73fffca8> {length = 2, path = 0 - 0}'

您好,我排查一下是什么原因。感谢反馈。