开发者

Custom UITableViewCell Best Practice?

开发者_如何学Python

I am always subclassing UITableViewCell's and drawing them in code. Is there a good tool to visually get rect sizes so I don't have to guess and check all the time?


You can draw the cells in Interface Builder - see Table View Programming Guide - scroll down to Loading Custom Table-View Cells From Nib Files - just make sure you follow the other recommendations regarding use of transparency, cell reuse, etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜