iPhone- how to use Storyboard with custom UITableView cells and CellWithIdentifier

前端 未结 4 1652
执笔经年
执笔经年 2021-02-02 16:53

I\'m trying to make use of the new Storyboard designer and the ease of drawing UITableView cells instead of programmatically \"designing\" each row.

A good example of a

4条回答
  •  一整个雨季
    2021-02-02 17:45

    Don't be a doofus like I was being. :)

    Make sure you set the Identifier value in the Attributes Inspector of the custom cell. Setting the Restoration ID of the custom cell in the Identity Inspector is the wrong way to go, and that's exactly what I did. Major facepalm for myself.

提交回复
热议问题