28 lines
675 B
Swift
28 lines
675 B
Swift
//
|
|
// FillPasswordTableViewCell.swift
|
|
// pass
|
|
//
|
|
// Created by Mingshen Sun on 11/2/2017.
|
|
// Copyright © 2017 Bob Sun. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class FillPasswordTableViewCell: UITableViewCell {
|
|
|
|
@IBOutlet weak var contentTextField: UITextField!
|
|
override func awakeFromNib() {
|
|
super.awakeFromNib()
|
|
// Initialization code
|
|
}
|
|
|
|
override func setSelected(_ selected: Bool, animated: Bool) {
|
|
super.setSelected(selected, animated: animated)
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@IBAction func generatePassword(_ sender: UIButton) {
|
|
contentTextField.text = "4-r4d0m-p455w0rd"
|
|
}
|
|
}
|