准备(对于segue:UIStoryboardSegue,sender:AnyObject?)swift 3.0 / Xcode 8 b6中缺失
使用xcode 8 beta 6。
类型覆盖function准备,我看到这个..
但我在寻找
准备(对于segue:UIStoryboardSegue,sender:AnyObject?)
这是一个错误吗? 这个类是ViewController的子类?
也许这是Beta 6中的一个错误。我正在使用GM种子,它正在工作:
顺便说一句:在测试版6中,该方法被重命名为
prepare(for segue: UIStoryboardSegue, sender: Any?)