【发布时间】:2014-09-15 20:40:36
【问题描述】:
我在 Objective C 中有这段代码,想知道你是否可以将它翻译成新的 swift Xcode... 这是代码。
(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
NSString *cellText = cell.textLabel.text;
}
【问题讨论】:
-
我拒绝相信 stackoverflow 是免费的翻译服务。