update swiftformat, add organize rule

commit_hash:0f7ba811b37db6d2a9fc05efe5f94502feda4856
This commit is contained in:
babaevmm
2025-08-04 16:24:48 +03:00
parent 5b23b82131
commit 956c055cd8
210 changed files with 3773 additions and 3579 deletions
@@ -48,6 +48,12 @@ private final class SampleView: UIView {
setupView()
}
override func layoutSubviews() {
super.layoutSubviews()
label.center = bounds.center
gradientLayer.frame = bounds
}
private func setupView(text: String = "") {
label.text = text
label.sizeToFit()
@@ -55,9 +61,4 @@ private final class SampleView: UIView {
self.addSubview(label)
}
override func layoutSubviews() {
super.layoutSubviews()
label.center = bounds.center
gradientLayer.frame = bounds
}
}