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

  • Home
  • SEARCH
  • 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 7083043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:07:47+00:00 2026-05-28T07:07:47+00:00

I fix all warnings and now I have such error in my AppDelegate Class

  • 0

I fix all warnings and now I have such error in my AppDelegate Class

.h file is

#import <UIKit/UIKit.h>

@interface UYLAppDelegate : UIResponder <UIApplicationDelegate>{

}

@property (retain, nonatomic) IBOutlet UIWindow *window;
@property (retain, nonatomic) IBOutlet UISplitViewController *splitViewController;

@end

.m file is

#import "UYLAppDelegate.h"
#import "UYLMasterViewController.h"
#import "UYLDetailViewController.h"
#import <QuartzCore/QuartzCore.h>

@implementation UYLAppDelegate

@synthesize window = _window;
@synthesize splitViewController = _splitViewController;

- (void)dealloc
{
    [_window release];
    [_splitViewController release];
    [super dealloc];
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    UIView *rootView = [[self.splitViewController.viewControllers objectAtIndex:0] view];
    rootView.layer.borderWidth = 1.0f;
    rootView.layer.cornerRadius =5.0f;
    rootView.layer.shadowOpacity = 0.8f;
    rootView.layer.shadowOffset = CGSizeMake(-5, 0);

    self.window.rootViewController = self.splitViewController; //error here
    [self.window makeKeyAndVisible];
    return YES;
}

@end

in this row I take an error

self.window.rootViewController = self.splitViewController; //error here

SplitViewController consist of 2 controllers, .h file are:

#import <UIKit/UIKit.h>

@class UYLDetailViewController;

@interface UYLMasterViewController : UITableViewController

@property (retain, nonatomic) IBOutlet UYLDetailViewController *detailViewController;

@end

and the second

#import <UIKit/UIKit.h>
#import "UYLModalViewController.h"

@class UYLMasterViewController;

@interface UYLDetailViewController : UIViewController <UYLModalViewControllerDelegate>{
    UIBarButtonItem *_MessageButton;
    NSInteger modalViewShowType;
}

-(IBAction)buttonTapped:(id)sender;

@property (retain, nonatomic, getter=_MessageButton) IBOutlet UIBarButtonItem *someMessageButton;
@property (retain, nonatomic) NSNumber *detailItem;
@property (retain, nonatomic) IBOutlet UIToolbar *toolbar;
@property (retain, nonatomic) IBOutlet UILabel *detailTitle;
@property (retain, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
@property (assign, nonatomic) BOOL masterIsVisible;

@end

edit:
there is all I see in console

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Aug 15 16:03:10 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 8217.
Pending breakpoint 1 - ""UYLDetailViewController.m":117" resolved
Pending breakpoint 2 - ""UYLModalViewController.m":30" resolved
Pending breakpoint 3 - ""UYLModalViewController.m":41" resolved
Pending breakpoint 4 - ""UYLDetailViewController.m":63" resolved
Pending breakpoint 5 - ""UYLMasterViewController.m":46" resolved
Pending breakpoint 7 - ""UYLDetailViewController.m":36" resolved
No breakpoint number 7.
Current language:  auto; currently objective-c

Please help me to understand it =(

  • 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-28T07:07:47+00:00Added an answer on May 28, 2026 at 7:07 am

    I had some SIGABRT errors most of the time, it just means that it can’t find that instance you are referring to. So look at that line again and think what might not be declared right.

    I think it might help if you change it to.
    self.window.rootViewController = splitViewController;

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

Sidebar

Related Questions

Apparently I've done something I'm not aware of All my classes now have warnings
How do I fix that error once and for all? I just want to
I have seen posts all over the internet that talk about how to fix
I want to fix a file in past commit. This might affect all ascending
So, I have been trying to fix this for about two months. It all
Using gtk# on a cross platform application and trying to fix all the warnings,
Even after all the hotfixes and updates that are supposed to fix this, my
How do I fix the indentation of his huge html files which was all
This may be a simple fix - but I'm trying to sum together all
The subject says it all, almost. How do I automatically fix jsp pages so

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.