开发者

Custom UITableViewCell Best Practice?

开发者 https://www.devze.com 2023-01-02 10:22 出处:网络
开发者_如何学PythonI 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 th
开发者_如何学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

精彩评论

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