AT
if
scrollView.contentOffset.x < 0 {
scrollView.contentOffset.x = max(0,scrollView.contentOffset.x)
}
ет блокирует влево
Size: a a a
AT
scrollView.contentOffset.x < 0 {
scrollView.contentOffset.x = max(0,scrollView.contentOffset.x)
}
А:
scrollView.contentOffset.x < 0 {
scrollView.contentOffset.x = max(0,scrollView.contentOffset.x)
}
AT
А:
1
А:
1
А:
1
DR
EG
process(point: (x: Int, y: Int, z: Int)) -> String {
if
case (0, 0, 0) = point {
return "At origin of coordinates"
}
else {
return "Not at origin of coordinates"
}
}
case (0, 0, 0) = point
Б
Б
Т
process(point: (x: Int, y: Int, z: Int)) -> String {
if
case (0, 0, 0) = point {
return "At origin of coordinates"
}
else {
return "Not at origin of coordinates"
}
}
case (0, 0, 0) = point
KM
EG
Т