宽窄优行-由【嘉易行】项目成品而来
younger_times
2023-07-05 0d8f5fc8a516bfd07e425909e4a4432600572ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//  BindRelationFootView.swift
//  OKProject
//
//  Created by 无故事王国 on 2022/2/10.
//  Copyright © 2022 yangwang. All rights reserved.
//
 
import UIKit
import RxSwift
 
class BindRelationFootView: UIView,NIBLoadable{
 
    @IBOutlet weak var nameField: UITextField!
    @IBOutlet weak var phoneField: UITextField!
    private let disposeBag = DisposeBag()
 
    override func awakeFromNib() {
        constrainsTextInputLength(length: 11, textField: phoneField).disposed(by: disposeBag)
        constrainsTextInputLength(length: 10, textField: nameField).disposed(by: disposeBag)
    }
}