GameLoading
GameLoading

Reputation: 6708

file structure in table view

can i show table view in this way

enter image description here

specification 000001,s able to hide all.

000003 is able to hide from 3 to 14..

000011 able to hide only 12,13 and 14..

Thanks,

Shyam

Upvotes: 0

Views: 258

Answers (1)

occulus
occulus

Reputation: 17014

Have a look at the indentationlevelforrowatindexpath method of UITableViewDelegate, as mentioned here -- it gives you the option of indenting different table cells with different amounts.

However, you need to ask yourself if the UI you propose is appropriate. Apple in their Human Interface Guidelines say that you should avoid presenting a tree-like control with too many levels in it, because it doesn't present well on a limited display space. In this case there's often a better mobile UI design available, e.g. break things up into different levels in a UINavigationController structure.

On the iPad obviously you have more screen real estate to play with, but it's still a point worth taking seriously.

Upvotes: 1

Related Questions