该文有错http://years.im/Home/Article/detail/id/53.html
纠正为:
init() {
super.init(nibName: "MYUIViewController",bundle: NSBundle.mainBundle())
}
required init(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
原文链接:https://www.f2er.com/swift/325523.html