【发布时间】:2014-06-30 00:13:31
【问题描述】:
如果有人可以帮助我使用调用 super 以从 func tableView (tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) 中获取 UITableViewCell 的语法,我将不胜感激。这是一个静态表。
override func tableView (tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! {
// The Objective-C code is: UITableViewCell *cell = [super tableView:tableView cellForRowAtIndexPath:indexPath];
var cell = super.??
}
我已经尝试过,但似乎无法获得正确的语法来执行此操作。提前致谢。
【问题讨论】:
标签: uitableview swift