开发者

Subclass UITableViewCell with content view loaded from nib

I have a subclass of UITableViewCell and I have the layout 开发者_JAVA技巧of the contentView in an nib. How can I load the view in the nib as the contentView in the subclass? What method do I load the nib in? drawRect?


See the Table View Programming guide from apple.

Look at Listing 5-5 Loading a cell from a nib file and assigning it content. It does exactly what you ask for.

regards Yoeri

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜