2017-02-10 22:15:01 +08:00
|
|
|
//
|
|
|
|
|
// TextFieldTableViewCell.swift
|
|
|
|
|
// pass
|
|
|
|
|
//
|
|
|
|
|
// Created by Mingshen Sun on 10/2/2017.
|
|
|
|
|
// Copyright © 2017 Bob Sun. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
2017-02-13 01:15:42 +08:00
|
|
|
class TextFieldTableViewCell: ContentTableViewCell {
|
2017-02-10 22:15:01 +08:00
|
|
|
|
|
|
|
|
@IBOutlet weak var contentTextField: UITextField!
|
|
|
|
|
|
|
|
|
|
override func awakeFromNib() {
|
|
|
|
|
super.awakeFromNib()
|
2017-02-11 10:19:27 +08:00
|
|
|
}
|
|
|
|
|
|
2017-02-10 22:15:01 +08:00
|
|
|
override func setSelected(_ selected: Bool, animated: Bool) {
|
|
|
|
|
super.setSelected(selected, animated: animated)
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-13 01:15:42 +08:00
|
|
|
override func getContent() -> String? {
|
|
|
|
|
return contentTextField.text
|
|
|
|
|
}
|
|
|
|
|
override func setContent(content: String) {
|
|
|
|
|
contentTextField.text = content
|
|
|
|
|
}
|
2017-02-10 22:15:01 +08:00
|
|
|
}
|