I have a objc uiviewcontroller that perform a segue to a swift uiviewcontroller in modal. I create the delegate in the objc file, but i can't call the method in objc from the swift file. All the files seams to be ok, but when calling delegate.function gives me a bad exec in the swift file.

**objc**

```
 #import "Cliente-Swift.h"
 @interface ViewController () <gameDelegate>
 @end

  (...)

   else if ([[segue identifier] isEqualToString:@"segueToGame"]) {
        //jump to main vgame controller
        GameViewController *gameVC =  [segue destinationViewController];
        gameVC.mydelegate = self;
    }

```

**swift `GameViewController`**

```
@objc protocol gameDelegate {
   func dismissGame()
}

class GameViewController: UIViewController {

var mydelegate: gameDelegate! = nil

override func viewDidLoad() {
    super.viewDidLoad()
    let scene = MainMenuScene(size:CGSize(width: 1536, height: 2048))
    //let scene = GameScene(size:CGSize(width: 1536, height: 2048))

    let skView = self.view as! SKView
    skView.showsFPS = true
    skView.showsNodeCount = true
    skView.showsPhysics = true;
    skView.ignoresSiblingOrder = true
    scene.scaleMode = .AspectFill
    skView.presentScene(scene)
}

override func prefersStatusBarHidden() -> Bool {
    return true
}

func sairDoJogo() {

    print("mydelegate = \(mydelegate!)")

    mydelegate!.dismissGame()

```

the bad exec is where in the call to the objc function dismissGame