开发者

Repetitive code in UITableView

开发者 https://www.devze.com 2023-01-15 10:16 出处:网络
I find myself writing a lot of repetitive code in UITableView, especially for config panels spending much more time on 开发者_JS百科it that it seems worth.

I find myself writing a lot of repetitive code in UITableView, especially for config panels spending much more time on 开发者_JS百科it that it seems worth.

I was wondering if something like MonoTouch Dialog (http://tirania.org/blog/archive/2010/Feb-23.html) existed in Obj-C.

Thanks!


I've had good luck with Sensible TableView. The support is excellent, should you have any problems.


You could write code to create table views/hierarchies declaratively. Apple's Settings app, for example, has most of it's layout and presentation defined in plist files that are adapted to something UITableView can consume by PSListController.

0

精彩评论

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