S
Size: a a a
S
DK
S
DK
S
UITableViewCell.self
чтоль?DK
DK
S
let cell: TopChatsCell = tableView.dequeueReusableCell(withIdentifier: cellReuseIdentifier) as! TopChatsCell
делать? Тут упадетDK
DK
B
DK
S
weakcell = tableView.dequeueReusableCell as? TopChatsCell
if weakcell == nil {
weakcell = TopChatsCell(style: UITableViewCell.CellStyle.default, reuseIdentifier: cellReuseIdentifier)
}
let cell = weakcell!
S
DK
S
updateCell.layoutIfNeeded()
не работаетupdateCell.setNeedsLayout()
работаетDK
DK
S
layoutIfNeeded()
, видимо, не очень желательная вещь