CollectionKit
CollectionKit copied to clipboard
How to use multiple views in a ArrayDataSource Provider
like this
viewGenerator {
if data.type = 1 {
return view1
}
if data.type = 2 {
return view2
}
if data.type = 3 {
return view3
}
}
try BoxProvider - https://github.com/SoySauceLab/CollectionKit/issues/118