开发者

Implementing Tree structures in IPad

开发者 https://www.devze.com 2023-01-28 16:30 出处:网络
How to implem开发者_如何学运维ent a tree structure in iPad, tree structure which contain parent & child nodes.You should use tableview for doing this.

How to implem开发者_如何学运维ent a tree structure in iPad, tree structure which contain parent & child nodes.


You should use tableview for doing this.

Setting the cell indentationLevel property to denote the tree structure. And, it's possible to expand/collapse "tree branches" if you write code to manipulate the cell heights (can be set to zero).

Or else try using a UITableview with UINavigation controller instead.


The apple-y way of doing this is to drill into a new list leaving a button to go back to its parent. This is done through UINavigationController. If your dead-set on indenting then as KingofBliss says change the cell indentationLevel

0

精彩评论

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