File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Components/Sources/Collection/Extensions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ public extension CollectionContext {
1515 StackView . rddm. collectionGenerator ( with: model, and: . class)
1616 }
1717
18- static func viewNib< T: UICollectionViewCell & ConfigurableItem > ( type: T . Type ,
18+ static func viewNib< T: UIView & ConfigurableItem > ( type: T . Type ,
1919 model: T . Model ) -> BaseCollectionCellGenerator < CollectionWrappedCell < T > > {
2020 T . rddm. collectionGenerator ( with: model, and: . nib)
2121 }
2222
23- static func viewClass< T: UICollectionViewCell & ConfigurableItem > ( type: T . Type ,
23+ static func viewClass< T: UIView & ConfigurableItem > ( type: T . Type ,
2424 model: T . Model ) -> BaseCollectionCellGenerator < CollectionWrappedCell < T > > {
2525 T . rddm. collectionGenerator ( with: model, and: . class)
2626 }
You can’t perform that action at this time.
0 commit comments