1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Newby question about a specific UI component

Discussion in 'iPhone/iPad Programming' started by wildeman, Feb 8, 2012.

  1. macrumors newbie

    #1
    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
     
  2. macrumors 65816

    jnoxx

    #2
    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
     
  3. macrumors 68000

    #3
    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.
     

Share This Page