Tab Bar application with embedded navigation controller using RSS feed

Posted on 2011-05-05
Last Modified: 2012-05-11
I am writing and iphone app with using a tab bar configuration. One of the tabs uses a navigation controller. This controller gets data from an RSS feed. I have found several good examples online for the RSS reader but they all start with a navigation based application which creates  a RootViewController class including an xib file. I am creating the navigation controller in Interface Builder by dragging the navigation controler object to the tab bar controller. Any suggestions on modifying the  RootViewController code in creating a controller for the navigation tab/
Question by:aijohn
    LVL 13

    Accepted Solution

    So, you are looking to have a tab bar application with a UINavigationController and UITableView on a select tab?

    Suppose you have a tab, I would look at this discussion for information on how to implement a Navigation Controller: For additional help, you can use the search terms: "iPhone SDK UINavigationController UITabBar"

    Once you have a NavigationController setup, you will be able to add a UIView and then add a UITableView controller to this view.  To allow the table to retrieve data from your ViewController, you will have to add the Delegate and DataSource in your .h file:

    <UITableView Delegate, UITableViewDataSource>

    Open in new window

    To switch views when a feed is selected, you can use the didSelectRowAtIndexPath method and the present either a modal view or push a new view using your Navigation Controller.

    Remember to create a connection for your Navigation Controller; so you can send messages to it.
    LVL 53

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Help with my python script 6 137
    format the code in java 6 62
    pre4 challenge 19 75
    Order table with macro 3 67
    A short article about a problem I had getting the GPS LocationListener working.
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now