Custom UITableViewCell with Subtitle style

后端 未结 2 1937
别跟我提以往
别跟我提以往 2021-02-18 16:03

I used this guide: http://www.bdunagan.com/2009/06/28/custom-uitableviewcell-from-a-xib-in-interface-builder to be able to create my own custom UITableViewCell with a nice backg

2条回答
  •  时光说笑
    2021-02-18 16:34

    Use Option B. Either fully use your own custom cell, or fully use Apple's styled cell. Trying to mix and match is not forward compatible.

    If you want a convenient property for the detailTextLabel, subclass UITableViewCell and return the UILabel you create in the nib. Give it a different name than detailTextLabel.

提交回复
热议问题