title: How to navigate from ObjC file to swift file in objC project?
body: <p>My project name is <code>ObjCSwift</code>. After creating the project, I create a new swift file <code>SecondViewController.swift</code> with <code>xib</code>. </p>
  
  <p>I have imported <code>#import "ObjCSwift-Swift.h"</code> in <code>AppDelegate.m</code> and  this is my code for <code>ViewController.m</code>  </p>
  
  <pre><code>#import "ViewController.h"
  #import "ObjCSwift-Swift.h"
  
  @interface ViewController ()
  @property (nonatomic, strong) SecondViewController* controller;
  @end
  
  @implementation ViewController
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  }
  
  - (IBAction)goToSwiftAction:(id)sender {
      _controller = [[SecondViewController alloc] init];
  //    _controller = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil];
  _controller.view.backgroundColor = [UIColor purpleColor];
  [self.navigationController pushViewController:_controller animated:true];
  }
  
  - (void)didReceiveMemoryWarning {
      [super didReceiveMemoryWarning];
  }
  
  @end
  </code></pre>
  
  <p>The project runs successfully with no warning. But when I tap the button <code>goToSwiftAction</code>, the method is called but the view is not navigating. </p>
  
  <p>I also set the <strong>Embedded Code Contains Swift Code</strong> to <strong>YES</strong>.</p>
  
  <p>What am I missing? Please help.</p>