AV
Size: a a a
AV
T
S
Д
cell.imageView?.kf.setImage(with: URL(string: channels[indexPath.row].recipientUrlImage))
cell.textLabel?.text = channels[indexPath.row].name
cell.imageView?.layer.cornerRadius = (cell.imageView?.frame.size.height ?? 0) / 2
cell.imageView?.clipsToBounds = trueD
Move {
func move(on Distance:Int)
}
protocol CanMove: Move {
var maxDistance: Int { get }
func move(on Distance:Int)
}CanMove что обязательно в функции Move надо проверить move(on Distance: Int) {
if Distance > self.maxDistance { return }
}