update UI of add password page
This commit is contained in:
parent
64789aa65e
commit
ae4ad4837e
8 changed files with 131 additions and 58 deletions
|
|
@ -10,21 +10,12 @@ import UIKit
|
|||
|
||||
class TextFieldTableViewCell: UITableViewCell {
|
||||
|
||||
@IBOutlet weak var titleLabel: UILabel!
|
||||
@IBOutlet weak var contentTextField: UITextField!
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
titleLabel.isUserInteractionEnabled = true
|
||||
let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(tap(_:)))
|
||||
titleLabel.addGestureRecognizer(tapGestureRecognizer)
|
||||
}
|
||||
|
||||
func tap(_ sender: Any?) {
|
||||
contentTextField.becomeFirstResponder()
|
||||
}
|
||||
|
||||
override func setSelected(_ selected: Bool, animated: Bool) {
|
||||
super.setSelected(selected, animated: animated)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue