Open CoderMaurice opened 5 years ago
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
like this