美文网首页
swift convenience init

swift convenience init

作者: GUGUCoder | 来源:发表于2017-03-28 10:27 被阅读0次

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

override func didReceiveMemoryWarning() {

super.didReceiveMemoryWarning()

// Dispose of any resources that can be recreated.

}

相关文章

网友评论

      本文标题:swift convenience init

      本文链接:https://www.haomeiwen.com/subject/bmxjottx.html