Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6036945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:59:59+00:00 2026-05-23T05:59:59+00:00

As the title suggests, I have built an utility based app. The app consists

  • 0

As the title suggests, I have built an utility based app.
The app consists (at the moment) of 2 view controllers + a model class hierarchy.
The thing is , as I’d like to add some features to the app , I would like to convert it to a TabBar based application.

As a first step , I would like the first view to be the first view of the tab bar , and the flipSideView to be one of the other tab bar items.

Is there any “standard procedure” / “grocery list” for such tasks ?
I’m sure some of you have encountered the same problem , and would love some advice on “slicing up” the app , and “wiring it up” after creating a new nib file for the main window (is that the first step ? )

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:00:00+00:00Added an answer on May 23, 2026 at 6:00 am

    I would probably start as follows (assuming you are using Interface Builder and using the standard Xcode utility app template):

    • Edit your MainWindow.xib file and drag a Tab Bar Controller object into the top level of your view hierarchy.
    • The default tab bar controller in IB includes two view controller items as examples. Click the first one and change its class to be your existing Main View Controller class.
    • You can also set the icon and tab bar title for the main view controller item by adding the associated Tab Bar Item that IB has already added to the view hierarchy.
    • Do the same for the second tab bar item setting the class for the FlipsideViewController.
    • Delete the old version of your Main View Controller from the NIB file and also remove the IBOutlet property from the Application Delegate (you probably also have references to the main view controller in dealloc which should be removed).
    • In your App Delegate add an IBOutlet property for the Tab Bar Controller as follows (don’t forget to synthesise the property):

      @property (nonatomic,retain) IBOutlet UITabBarController *tabBarController;

    • In IB wire up the tabBarController outlet from the App delegate object to the Tab Bar Controller object.

    • Finally to get the tab bar controller to show up in place of the main view controller change the code in application:didFinishLaunchingWithOptions: to the following:

      [self.window addSubview:self.tabBarController.view];

    This should get the basic tab bar app up and running and you can add additional view controllers to the tab bar.

    Since you no longer want to flip between the MainView and FlipsideView you can remove the references to the FlipsideViewControllerDelegate from the MainViewController along with the info button and its IBAction method showInfo. Likewise in the FlipeSideViewController you should remove the done button from the view and its IBAction method as these no longer make sense when used with the tab bar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As the title suggests, I'm using Google App Engine and Django. I have quite
As the title suggests I have a program with a scrollbar interface. The problem
As the title suggests I have two models Products And Orders which are actually
Well, as the title suggests: I have a storyboard and I want it's animation
As the title suggests, I have a span that is automatically generated by SimpleCart
My question is pretty much as the title suggests, I have a message board
I have a django model roughly as shown below: class Event(db.Model): creator = db.ReferenceProperty(User,
As the title suggests, we have a Java (Swing) desktop application, and we'd like
As the title suggests I would like to understand why static classes can have
As the title suggests, I'm interested in starting up iOS app development. I've used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.