Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wildeman

macrumors newbie
Original poster
Feb 8, 2012
1
0
I want to develop an app which simply allows the users to browse categories(nodes), then read the contents of a html file at the leaf node or a tree.

For example:

Animals
->Dogs->Hound.html
->Dogs->Lab.html
->Cats->Tabi.html

Autos
->Fords->ModelT.html

Navigation should have a back button to go to previous pages. It is extremely simple.

My question is: Is there a UI component already available in the SDK that supports this? If not, is there a template (commercial or free I can use)?

Thank you in advance.
Clint
 
UINavigationController? :p
If you assign it's rootController with a UIViewController, and you PUSH a view on this stack, the back button comes automagically.
So it's just the matter of learning your SDK.. And UINavigationController
 
A search on the iOS Search page using the key words tree and node leads to CFTree, NSIndexPath, and a document called Collections Programming Topics for Core Foundation.

My only experience with NSIndexPath is with UITableViews.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.