这两个代码片段之间的区别是什么:
let cell = tableView.dequeueReusableCellWithIdentifier("cellId") as UITableViewCell? // vs let cell = tableView.dequeueReusableCellWithIdentifier("cellId") as? UITableViewCell
结果不完全一样吗?
cocoa downcast swift
cocoa ×1
downcast ×1
swift ×1