How do you load custom UITableViewCells from Xib files?

前端 未结 23 1734
抹茶落季
抹茶落季 2020-11-22 11:11

The question is simple: How do you load custom UITableViewCell from Xib files? Doing so allows you to use Interface Builder to design your cells. The answer app

23条回答
  •  孤街浪徒
    2020-11-22 11:34

    Loading UITableViewCells from XIBs saves a lot of code, but usually results in horrible scrolling speed (actually, it's not the XIB but the excessive use of UIViews that cause this).

    I suggest you take a look at this: Link reference

提交回复
热议问题