12345678910111213141516171819202122232425262728293031 |
- //
- // UIColor+Ex.swift
- // KittensTravelNotes
- //
- // Created by 100Years on 2025/7/6.
- //
- //extension UIStackView {
- // public func addSpacing(length:CGFloat) {
- // let view = UIView()
- // self.addArrangedSubview(view)
- // view.snp.makeConstraints { make in
- // if axis == .vertical {
- // make.width.equalToSuperview()
- // make.height.equalTo(length)
- // } else {
- // make.width.equalTo(length)
- // make.height.equalToSuperview()
- // }
- // }
- // }
- //
- // static func create(axis:NSLayoutConstraint.Axis = .vertical) -> UIStackView {
- // let cusStackView = UIStackView()
- // cusStackView.axis = .vertical
- // return cusStackView
- // }
- //
- //}
|