title: I get this error in Xcode: @interface for 'AppDelegate' declares the selector 'performSegueWithIdentifier:sender:'
body: <p>I get this error in <code>Xcode</code>: <code>@interface</code> for <code>AppDelegate</code> declares the selector <code>performSegueWithIdentifier:sender:</code>.</p>
  
  <p>My <code>main.storyboard</code> has a seque from the regular view to the one for the first launch.</p>
  
  <p>My <code>AppDelegate.m</code> says this:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"])
      {
          // app already launched
          NSLog(@"this app has already been launched partner");
      }
      else
      {
          [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HasLaunchedOnce"];
          [[NSUserDefaults standardUserDefaults] synchronize];
          // This is the first launch ever
          NSLog(@"first time launch bb");
          [self performSegueWithIdentifier:@"toWelcomeScreen" sender:self];
  
  
      }
      // Override point for customization after application launch.
      return YES;
  }
  </code></pre>
  
  <p>How do I make it so on the first launch, it shows the view with segue <code>toWelcomeScreen</code>?</p>