Note that there are some explanatory texts on larger screens.

plurals
  1. POdebug error EXC_BAD_ACCESS in main.m
    primarykey
    data
    text
    <p>bar controller, My project name is "DebtDevV1", which switch between view "AddDebtor" and "Debtor". I built it based on the "tabbed based application". </p> <p>When i press "DebtorViewController", it stopped at below coding in main.m Error message: </p> <blockquote> <p>Program received signal "EXC_BAD_ACCESS"</p> </blockquote> <p>When i put my cursor on DebtDevV1AppDelegate, it shows <code>"Out of Scope"</code>.</p> <p>Below is the main.m:</p> <pre><code>#import "DebtDevV1AppDelegate.h" int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([DebtDevV1AppDelegate class])); } } </code></pre> <p>Below is the DebtDevV1AppDelegate.m</p> <pre><code>#import "DebtDevV1AppDelegate.h" #import "AddDebtorViewController.h" #import "DebtorViewController.h" @implementation DebtDevV1AppDelegate @synthesize window = _window; @synthesize tabBarController = _tabBarController; - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launch. UIViewController *viewController1 = [[[AddDebtorViewController alloc] initWithNibName:@"AddDebtorViewController" bundle:nil] autorelease]; UIViewController *viewController2 = [[[DebtorViewController alloc] initWithNibName: @"DebtorViewController" bundle:nil] autorelease]; self.tabBarController = [[[UITabBarController alloc] init] autorelease]; self.tabBarController.viewControllers = [NSArray arrayWithObjects:viewController1, viewController2, nil]; self.window.rootViewController = self.tabBarController; [self.window makeKeyAndVisible]; return YES; } </code></pre> <p>Does anyone come across or have idea on above error? Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload