ios - Convert Complex UITableView to UICollectionView -
i have prototyped uitableview in storyboard, has many cell complex layout. now, need convert uicollectionview, because have problem way uitableview handles cell layout(see this question). figured code part easy one, need tweak inheritance of cell classes, switch delegate , datasource written code. however, little stuck on storyboard side, is, given cells complex in layout , copying , pasting them 1 cell require many layout tweaking , iboutlet/ibaction reconnecting. there fast way convert uitableviewcells designed in storyboard uicollectionviewcells?
i think, save data 1 class, in collectionview, data class. remember, tableview , collection reverse cell , row.
Comments
Post a Comment