30 lines
625 B
Swift
30 lines
625 B
Swift
//
|
|
// TextFieldTableViewCell.swift
|
|
// pass
|
|
//
|
|
// Created by Mingshen Sun on 25/1/2017.
|
|
// Copyright © 2017 Bob Sun. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import Former
|
|
|
|
class TextFieldTableViewCell: UITableViewCell, TextFieldFormableRow {
|
|
@IBOutlet weak var titleLabel: UILabel!
|
|
@IBOutlet weak var textField: UITextField!
|
|
|
|
override func awakeFromNib() {
|
|
super.awakeFromNib()
|
|
}
|
|
|
|
func formTextField() -> UITextField {
|
|
return textField
|
|
}
|
|
|
|
func formTitleLabel() -> UILabel? {
|
|
return titleLabel
|
|
}
|
|
|
|
func updateWithRowFormer(_ rowFormer: RowFormer) {}
|
|
|
|
}
|