【发布时间】:2014-07-17 00:28:32
【问题描述】:
我有一个继承自 PFTableViewCell 的自定义类。我想使用故事板来初始化课程。我使用“tableView.dequeueReusableCellWithIdentifier”创建它,所以我认为我需要以下初始化程序。
init(coder aDecoder: NSCoder!){
super.init(coder: aDecoder)
//...custom init code...
}
不幸的是它不起作用......
【问题讨论】:
-
我建议您阅读 Apple 提供的有关 Swift 初始化链的文档:developer.apple.com/library/prerelease/ios/documentation/Swift/…。具体来说,在有关安全检查的页面下方
标签: swift parse-platform