swift convenience init

2017-03-28  本文已影响0人  GUGUCoder

convenience init 只作为补充和提供使用上的方便。并且convenience init 不能被子类重写或者被子类super形式调用

override func didReceiveMemoryWarning() {

super.didReceiveMemoryWarning()

// Dispose of any resources that can be recreated.

}

上一篇 下一篇

猜你喜欢

热点阅读