PDA

View Full Version : Newby question about a specific UI component




wildeman
Feb 9, 2012, 12:06 AM
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



jnoxx
Feb 9, 2012, 02:30 AM
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

xStep
Feb 9, 2012, 02:31 AM
A search on the iOS Search page (https://developer.apple.com/library/ios/search/) 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.