2017-03-06 11 views
0

UIViewControllerPush segueを使用して別のボタンにリンクした簡単なアプリケーションを作成していますが、ボタンをタップするとSIGABRT errorとなり、どうして ?SIGABRTエラーが1つのUIViewControllerから別のUIViewControllerに移動するとき

また、私は誤って削除しておく必要があります。このボタンに関連する他のseguesをチェックしましたが、他のトリガーセグエは一切ありません。

これは私のUIViewControllerコードです。この単純な円形アニメーションがあります。

@IBOutlet weak var menuButton: UIButton! 

    let transition = CircularTransition() 

    override func viewDidLoad() { 
     super.viewDidLoad() 
     menuButton.layer.cornerRadius = menuButton.frame.size.width/2 

    } 


    func dismissKeyboard() { 
     view.endEditing(true) 
    } 



    func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? { 
     transition.transitionMode = .present 
     transition.startingPoint = menuButton.center 
     transition.circleColor = menuButton.backgroundColor! 

     return transition 
    } 

    func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { 
     transition.transitionMode = .dismiss 
     transition.startingPoint = menuButton.center 
     transition.circleColor = menuButton.backgroundColor! 

     return transition 
    } 


    override func didReceiveMemoryWarning() { 
     super.didReceiveMemoryWarning() 
    } 

} 
+0

ルック。理由: '[setValue:forUndefinedKey:]: " – DonMag

+0

はい、します" libC++ abi.dylib:キャッチされない例外で終了するタイプNSException (lldb) " –

+0

他のエラー情報はありますか?これは特定のコード行で起こっていますか?ブレークポイントを使用して、何が起きたかを確認することができますか? – DonMag

答えて

0

あなたが壊れ接続のためのストーリーボードチェック画像を通してテーブルやdeleagtesを追加する場合は....エラー情報については、お使いのコンソール出力で

enter image description here

関連する問題