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
|
|
|
|
|
|
2019-01-27 14:26:11 +01:00
|
|
|
class TextFieldTableViewCell: UITableViewCell, ContentProvider {
|
2020-06-28 21:25:40 +02:00
|
|
|
@IBOutlet var contentTextField: UITextField!
|
2018-12-09 16:59:07 -08:00
|
|
|
|
2019-01-27 14:26:11 +01:00
|
|
|
func getContent() -> String? {
|
2020-06-28 21:25:40 +02:00
|
|
|
contentTextField.text
|
2017-02-13 01:15:42 +08:00
|
|
|
}
|
2019-01-27 14:26:11 +01:00
|
|
|
|
|
|
|
|
func setContent(content: String?) {
|
2017-02-13 01:15:42 +08:00
|
|
|
contentTextField.text = content
|
|
|
|
|
}
|
2017-02-10 22:15:01 +08:00
|
|
|
}
|