Is there any tree control for iphone?

Is there a Tree control available for iphone?

I need to imagine a tree with additional nodes in the tree, how can I do this?

thanks

+7
iphone
source share
5 answers

From what I see, the best solution for my problem would be the BreadCrumbs control. I am looking for a ready-made solution for crackers, but if not, you should not write it.

0
source share

By default there is no tree widget. Basically, this is not so, because you do not really need one and most cases, which should probably be avoided.

A table navigation controller is the most common way to navigate down nodes in a hierarchy / tree.

It's hard to pick up a tree, such as the controls that we have on our desktop computers in the touch world, where you have huge fingers (so huge nodes) and the nodes are offset to show depth, there is not much space left. Adding it to the iOS environment would create a weird UX stream, so I would probably rethink my design stream if I think I need it.

If you need to fake it, you can use the table view and shift the left side of each sub-element using some addition to show the depth.

+7
source share

See this help

Moving Your Own Tree Tree Management

part 1: http://dotnet.kapenilattex.com/?p=566 , part 2 and part 3 are on pages: 585 and 633 part 4: http://dotnet.kapenilattex.com/?p=648&cpage=1# comment-59842

+1
source share

I would use a UITableView and expand and collapse elements further down the tree. You can set the indentation level for each UITableViewCell as it is displayed, depending on its position in the tree. You will need to keep track of which elements in the tree will be expanded / visible in order to always provide the tree with the correct data.

I just did it for the project. Unfortunately, I do not have the right to share the full code. But writing it should not be hard.

Let us know if you find a turnkey solution.

0
source share

OK, I did it.

I added a WebView and I am adding a list of crumbs to it. The design is similar to the official Apple website.

When the user contacts the link, I call the popToViewController function, and I'm there.

This prevents the user from clicking "Back" and "Back".

Hope this helps someone.

-2
source share

All Articles