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 867845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:02:31+00:00 2026-05-15T10:02:31+00:00

I accidentally deleted my appDelegate window outlet and don’t manage to resore it again.

  • 0

I accidentally deleted my appDelegate window outlet and don’t manage to resore it again.

My window based App has a TabBarController.

I am using xCode 3.1.3. See belows link to a screenshot of IB with appDelegate outlets.

http://www.rodiun.com/innflohmation/x23/IB-appDelegate.jpg

any hint is most appreciated,

my appDelegate code looks like this:

#import <UIKit/UIKit.h>

@interface LGS2010AppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> {
    UIWindow *window;
    UITabBarController *tabBarController;
}

@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) UITabBarController *tabBarController;

and the implementation:

@implementation LGS2010AppDelegate

@synthesize window, tabBarController;

#pragma mark -
#pragma mark setup methods

- (void)applicationDidFinishLaunching:(UIApplication *)application {

    // Add the tab bar controller's current view as a subview of the window
    [window addSubview:tabBarController.view];
}

iFloh

  • 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-15T10:02:32+00:00Added an answer on May 15, 2026 at 10:02 am

    You need to add UITabBarController *tabBarController; to the @interface section, and make it a nonatomic and retain property. Then connect the outlet, and make sure that in the applicationDidFinishLaunchingWithOptions you call [window addSubview:tabBarController];.

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

Sidebar

Related Questions

I'm trying to recover an app that I accidentally deleted and managed to do
I accidentally deleted my firstviewcontroller.m file which is for a view that has a
I was just working on my Netbeans project and accidentally deleted it and don't
I recently deployed my rails app on Heroku. In the process I accidentally deleted
I am using XCode 4.0.2 and I accidentally deleted MainWindow.xib. I used SVN to
My project directory inside trunk has been accidentally deleted by another user. I can
I accidentally deleted my previous post. Could I know exactly why I should compile
I accidentally deleted a few files from my local git repo. I have not
I accidentally deleted node 0, which was my reference node on a new graph,
I accidentally deleted hadoop.tmp.dir, in my case /tmp/{user.name}/*. Now everytime when I run hive

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.