CollectionKit icon indicating copy to clipboard operation
CollectionKit copied to clipboard

How to use multiple views in a ArrayDataSource Provider

Open CoderMaurice opened this issue 6 years ago • 1 comments

like this

viewGenerator {
  if data.type = 1 {
      return view1
  }

  if data.type = 2 {
     return  view2
  }

 if data.type = 3 {
    return  view3
 }
}

CoderMaurice avatar Aug 15 '19 07:08 CoderMaurice

try BoxProvider - https://github.com/SoySauceLab/CollectionKit/issues/118

pockerhead avatar Dec 25 '19 12:12 pockerhead