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

项目中用到了RxSwift #7

Closed sunKit-io closed 2 years ago

sunKit-io commented 2 years ago

我项目中用到了rxswift ,导致CollectionViewRoundFlowLayout

image

176行 获取的代理为rx的代理,请问这个如何兼容呢

kingjiajie commented 2 years ago

如果使用RxSwift的情况下,暂时这个还在构思解决方案中,后期可能使用扩展方案解决,但是现在暂时没有好的方案呢,

sunKit-io commented 2 years ago

如果使用RxSwift,这个解决方案还在构思中,可能使用扩展方案解决,但现在没有好的方案。

好的,现在已经讲rx 去掉了,感谢