阅读背景:

如何在UITableView中为UICollectionViewCell使用相同的代码?

来源:互联网 

I'm using the exact same cell setup from a UICollectionView but this time inside of a UITableView, the reason for this is that i'm using collapsable headers so it needs to be a UITableView. The code will be pretty much exactly the same apart from the type will be a UITableViewCell instead of a UICollectionViewCell and the xib files will be different. Could i somehow make this code re-usable for a UITableViewCell instead of copy-paste?I'm using the exact same cell setup from a UICo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: